{"_id":"@dword-design/plugin-name-to-package-name","_rev":"1-0b9fce834e3b7c5c66ced2a885636129","name":"@dword-design/plugin-name-to-package-name","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@dword-design/plugin-name-to-package-name","version":"0.1.1","description":"Utility to transform plugin names into package names as seen at e.g. eslint, stricter, and others","license":"MIT","author":{"name":"Hannes Obweger"},"repository":{"type":"git","url":"git+https://github.com/obweger/plugin-name-to-package-name.git"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest && tsc --noEmit","prepare":"tsc --declaration"},"devDependencies":{"@types/is-absolute":"^1.0.0","@types/jest":"^25.2.1","jest":"^25.5.4","ts-jest":"^25.4.0","typescript":"^3.8.3"},"keywords":["plugin","package","eslint"],"dependencies":{"is-absolute":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"c2fd0b998c87ebda8bccd1f090885f634d478f0a","bugs":{"url":"https://github.com/obweger/plugin-name-to-package-name/issues"},"homepage":"https://github.com/obweger/plugin-name-to-package-name#readme","_id":"@dword-design/plugin-name-to-package-name@0.1.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-DvH0/2jiiSm65u1vhvg0wSyQa2vOKCH+u0iZKRdIi5QzSvatzXC6hqOfY3xiU4GXqTHGGba7PGRehAvJevhKMA==","shasum":"dae9bda2e0e9f22d6a07b62fb37c57aca169b8d0","tarball":"https://registry.npmjs.org/@dword-design/plugin-name-to-package-name/-/plugin-name-to-package-name-0.1.1.tgz","fileCount":5,"unpackedSize":4543,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDmqxf7o6zV/vCH4ZL/EdhaOz0FEA4SGivox4JVRMHrAIhANa0mako4wFhJKs8CnzHYwNn6o7Yl98C2oPZLrffCZSB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfA8vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/4w//WkdU/+vK1EelhtLEnTI+RUG+wUpF0axD3sfciOthsoJ7Ljqx\r\nGnGxc9Lk/CKxmWDTrP7gV27oFcCV/wt7qAjJcbciQx1R832vO4zG6XbXYBYI\r\nADBzHxSIh3sdVQdGMbAZkH3YOQeVQfcS/kh15ooPN8Gx0vvvZPiIbrJ+8c4K\r\ns0fxG9gnwy0Wn66teyIhoV3Y+2Q7nfzDKZvAw2eX4+XolB8hrzwaOtet/W2/\r\n0IL+Fm824wUnFbb8ZR5ehuT5101zFkfKsQXHReEA23zDo0Knw2KhOhRIUUBT\r\nHYsam9f3G0/eVJHpm4QOMIKkKYcGWC2+CluIswurXoHMK4T7Edv+nn+BOecb\r\nL2hhm6W8TuZByjq3BjhNji2ccmfF8/iT1D34dko15Q+kBBOmaYmSOXvSSXQ0\r\ncxWdpTa48TIfD45xZMLcJF33A3zEN9yj0ooltQfpz4B3LgcI5bSOS3Du892V\r\nUgBl6DQH3BnSh3tJtmkNEBO66OxvTUYNsVg43oOtZRrv3LrnYcxIZmtCbQTK\r\nohnXKmSCJKeiIrT9cj/RcUoPjeWnpIcu7tFK2PrZiG1kHcJdRhueZGWfqfjo\r\n2hiWtPQ1/eD/nRmPmr6hKH60nbG3HuvhnR6KczhoNSpdA0JgAgdYWFrsVXTP\r\n+F9cJmMt1KIylrsbNaaq/R1V6XJpQ2v0kh4=\r\n=je6T\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dword-design","email":"info@sebastianlandwehr.com"},"directories":{},"maintainers":[{"name":"dword-design","email":"info@sebastianlandwehr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-name-to-package-name_0.1.1_1669074735330_0.44527701976613665"},"_hasShrinkwrap":false},"0.1.2":{"name":"@dword-design/plugin-name-to-package-name","version":"0.1.2","description":"Utility to transform plugin names into package names as seen at e.g. eslint, stricter, and others","license":"MIT","author":{"name":"Hannes Obweger"},"repository":{"type":"git","url":"git+https://github.com/obweger/plugin-name-to-package-name.git"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest && tsc --noEmit","prepare":"tsc --declaration"},"devDependencies":{"@types/is-absolute":"^1.0.0","@types/jest":"^25.2.1","jest":"^25.5.4","ts-jest":"^25.4.0","typescript":"^3.8.3"},"keywords":["plugin","package","eslint"],"dependencies":{"is-absolute":"^1.0.0"},"publishConfig":{"access":"public"},"gitHead":"6100a6d529273e36033e93bcb34c076a2c38cc95","bugs":{"url":"https://github.com/obweger/plugin-name-to-package-name/issues"},"homepage":"https://github.com/obweger/plugin-name-to-package-name#readme","_id":"@dword-design/plugin-name-to-package-name@0.1.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-kATg/RzRkq/Yv0qNJziPqwAzKstBTzuXnowH4MvAMyqW6C7o5HlgZtik3GzO0kBKCBZBoRswBSvo9AHclOTxfg==","shasum":"ce5fdcd84592c36ad3c94057d538b75337673d73","tarball":"https://registry.npmjs.org/@dword-design/plugin-name-to-package-name/-/plugin-name-to-package-name-0.1.2.tgz","fileCount":5,"unpackedSize":4573,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd5kf0yq+zLOUo0CA3JWFJ8L8CAwzIPlKU3XjrnCDt5wIhALUA0FZEvdS/MWx7fWeLeZ9d+xAGpq4Lv1zTOM8jibsP"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMcBDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9xQ//S8tbof2Oy9eYBH68k79bVDpygm6/wzDc4Pl/jMbk6ypW20Eg\r\nX2sJtC2so/CwCT491WDLtIvVcoI1M0t2VE4XmRl140zxINndrkCs0PFqM5XT\r\nZPdfAdM8kcySr1kiKmhENk/MVhv5sfxGG9w//kE7vLgJe6xcEv808DOTQTd9\r\nbTDsaYeCxeKZVNUUVon5Ixk4lQd4b6nT9f39tbwbcuy4CVUOQIUDp50FjWbQ\r\nWtjfy6fpec+27rm/5lQSVaD4/q0dIYHzqCI9WtfYuGJ1QVX2ilrA5pB+5sLK\r\nOZTnDIYPKqTYUvMFZKkwgQJdXUGZSpQD+raU7xU9iLu6pyz1+DD7VuV8RXNR\r\nQHpuQ3Dl/VfhUVgwmTrBP1XtETUHPKykhNeXpxWB6W1eAtD8F6je0YQ2cKKv\r\nsox32WgpmbOE5nW2QyvY3TpZOJDgFdE1Kng2jIVvHS7DByXg2l9JQcDweCfe\r\n/Wa918+uBfKcgfpT5lDcy6PKJfvrYs7iRXGXUcdOleDn4DURvrpohAQn3naY\r\n2NB4Ccvo5hjIrZis243kpZfEPgP7Ex1T0Yw6wrPkYzUV9GeA6eVpBBnh6l6k\r\nVqlEzQSb+EznTFQKpdr9pjlRplS4WINJPJG/LOcdB19rDcjW53+GALa2SjWX\r\nGIbE2JS2V27MxcevfgvgJwsquVw32dqh0wk=\r\n=wTpm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dword-design","email":"info@sebastianlandwehr.com"},"directories":{},"maintainers":[{"name":"dword-design","email":"info@sebastianlandwehr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-name-to-package-name_0.1.2_1680982083081_0.24965623306917095"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-21T23:52:15.197Z","0.1.1":"2022-11-21T23:52:15.533Z","modified":"2023-04-08T19:28:03.482Z","0.1.2":"2023-04-08T19:28:03.376Z"},"maintainers":[{"name":"dword-design","email":"info@sebastianlandwehr.com"}],"description":"Utility to transform plugin names into package names as seen at e.g. eslint, stricter, and others","homepage":"https://github.com/obweger/plugin-name-to-package-name#readme","keywords":["plugin","package","eslint"],"repository":{"type":"git","url":"git+https://github.com/obweger/plugin-name-to-package-name.git"},"author":{"name":"Hannes Obweger"},"bugs":{"url":"https://github.com/obweger/plugin-name-to-package-name/issues"},"license":"MIT","readme":"# plugin-name-to-package-name\n\nTransforms plugin names into package names, as seen at e.g. [`eslint`](https://eslint.org/), [`stricter`](https://github.com/atlassian/stricter), and others.\n\nFrom `eslint`'s [Working with Plugins](https://eslint.org/docs/developer-guide/working-with-plugins):\n\n> Each plugin is an npm module with a name in the format of `eslint-plugin-<plugin-name>`, such as `eslint-plugin-jquery`. You can also use scoped packages in the format of `@<scope>/eslint-plugin-<plugin-name>` such as `@jquery/eslint-plugin-jquery` or even `@<scope>/eslint-plugin` such as `@jquery/eslint-plugin`.\n\n## Installation\n\n```shell\n$ npm install plugin-name-to-package-name\n```\n\n```js\nconst { transform } = require('plugin-name-to-package-name');\n\nconsole.log(transform('@foo/bar', 'eslint-plugin')); // @foo/eslint-plugin-bar\n```\n\n## Usage\n\n`transform` takes two parameters; the `pluginName`, and the `pluginPrefix`. In the above example, `pluginName` is `'@foo/bar'` and `pluginPrefix` is `'eslint-plugin'`.\n\n### Examples\n\n| `pluginName` | `pluginPrefix` | Result |\n|-|-|-|\n| `@foo` | `eslint-plugin` | `@foo/eslint-plugin` |\n| `bar` | `stricter-plugin` | `stricter-plugin-bar` |\n| `@foo/bar` | `modster-plugin` | `@foo/modster-plugin-bar` | \n\n\n## Contributions\n\nYes please!","readmeFilename":"README.md"}