{"_id":"generic-names","_rev":"2034704","name":"generic-names","description":"Helper for building generic names, similar to webpack","dist-tags":{"beta":"1.0.0-beta","latest":"4.0.0"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"time":{"modified":"2021-12-22T11:26:16.000Z","created":"2015-10-26T20:51:37.459Z","4.0.0":"2021-12-22T11:24:56.487Z","3.0.0":"2020-10-24T12:53:38.280Z","2.0.1":"2018-08-27T13:12:09.370Z","2.0.0":"2018-08-27T11:01:58.477Z","1.0.3":"2017-10-31T15:23:45.638Z","1.0.2":"2016-10-12T08:57:00.521Z","1.0.1":"2015-11-02T19:15:48.774Z","1.0.0":"2015-11-01T23:53:04.334Z","1.0.0-beta":"2015-10-26T20:51:37.459Z"},"users":{"tomgao365":true},"author":{"name":"Alexey Litvinov"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"versions":{"4.0.0":{"name":"generic-names","version":"4.0.0","description":"Helper for building generic names, similar to webpack","main":"index.js","types":"index.d.ts","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","postcss-modules-scope","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","devDependencies":{"tape":"^4.6.2"},"dependencies":{"loader-utils":"^3.2.0"},"gitHead":"71e74af6538425ada4dab5b63019402aaa66f871","_id":"generic-names@4.0.0","_nodeVersion":"12.22.8","_npmVersion":"8.3.0","dist":{"shasum":"0bd8a2fd23fe8ea16cbd0a279acd69c06933d9a3","size":4122,"noattachment":false,"key":"/generic-names/-/generic-names-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-4.0.0.tgz"},"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-names_4.0.0_1640172296295_0.47024795046065204"},"_hasShrinkwrap":false,"publish_time":1640172296487,"_cnpm_publish_time":1640172296487},"3.0.0":{"name":"generic-names","version":"3.0.0","description":"Helper for building generic names, similar to webpack","main":"index.js","types":"index.d.ts","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","postcss-modules-scope","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","devDependencies":{"tape":"^4.6.2"},"dependencies":{"loader-utils":"^2.0.0"},"gitHead":"0915569bf4bbeb4130723cff45e2b5c5d3702cf4","_id":"generic-names@3.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.14.8","dist":{"shasum":"c69a01700098e1215d5a0b820ac21ddd70a78dbb","size":4064,"noattachment":false,"key":"/generic-names/-/generic-names-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-3.0.0.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-names_3.0.0_1603544018145_0.2542954475652408"},"_hasShrinkwrap":false,"publish_time":1603544018280,"_cnpm_publish_time":1603544018280},"2.0.1":{"name":"generic-names","version":"2.0.1","description":"Helper for building generic names, similar to webpack","main":"index.js","types":"index.d.ts","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","postcss-modules-scope","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","devDependencies":{"tape":"^4.6.2"},"dependencies":{"loader-utils":"^1.1.0"},"gitHead":"d57cb1c4dbf391fb68be9e5f38e68ad1d5a0f2d9","_id":"generic-names@2.0.1","_npmVersion":"6.4.0","_nodeVersion":"8.11.1","_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"dist":{"shasum":"f8a378ead2ccaa7a34f0317b05554832ae41b872","size":8339,"noattachment":false,"key":"/generic-names/-/generic-names-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-2.0.1.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-names_2.0.1_1535375529238_0.4751141992482546"},"_hasShrinkwrap":false,"publish_time":1535375529370,"_cnpm_publish_time":1535375529370},"2.0.0":{"name":"generic-names","version":"2.0.0","description":"Helper for building generic names, similar to webpack","main":"index.js","types":"index.d.ts","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","postcss-modules-scope","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","devDependencies":{"tape":"^4.6.2"},"dependencies":{"loader-utils":"^1.1.0"},"gitHead":"0b578e4ada54c46060982f1e02f17e2565a7f64e","_id":"generic-names@2.0.0","_npmVersion":"6.4.0","_nodeVersion":"8.11.1","_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"dist":{"shasum":"4eaf163dcc34bcbbf2c1f767ad7a472fd4aeeca5","size":8303,"noattachment":false,"key":"/generic-names/-/generic-names-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-2.0.0.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-names_2.0.0_1535367718390_0.7666138368484987"},"_hasShrinkwrap":false,"publish_time":1535367718477,"_cnpm_publish_time":1535367718477},"1.0.3":{"name":"generic-names","version":"1.0.3","description":"Helper for building generic names, similar to webpack","main":"index.js","types":"index.d.ts","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","postcss-modules-scope","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","devDependencies":{"tape":"^4.6.2"},"dependencies":{"loader-utils":"^0.2.16"},"gitHead":"83931f95880421ad2bce2059283e60819063d314","_id":"generic-names@1.0.3","_shasum":"2d786a121aee508876796939e8e3bff836c20917","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.2.1","_npmUser":{"name":"sullenor","email":"iamhoneyboy@gmail.com"},"dist":{"shasum":"2d786a121aee508876796939e8e3bff836c20917","size":2715,"noattachment":false,"key":"/generic-names/-/generic-names-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-1.0.3.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-names-1.0.3.tgz_1509463424715_0.3199365723412484"},"directories":{},"publish_time":1509463425638,"_hasShrinkwrap":false,"_cnpm_publish_time":1509463425638},"1.0.2":{"name":"generic-names","version":"1.0.2","description":"Helper for building generic names, similar to webpack","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","postcss-modules-scope","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","devDependencies":{"tape":"^4.6.2"},"dependencies":{"loader-utils":"^0.2.16"},"gitHead":"08341bc526c9dc80bff9f17946b444d5bc2af834","_id":"generic-names@1.0.2","_shasum":"e25b7feceb5b5a8f28f5f972a7ccfe57e562adcd","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.6.0","_npmUser":{"name":"sullenor","email":"iamhoneyboy@gmail.com"},"dist":{"shasum":"e25b7feceb5b5a8f28f5f972a7ccfe57e562adcd","size":2514,"noattachment":false,"key":"/generic-names/-/generic-names-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-1.0.2.tgz"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/generic-names-1.0.2.tgz_1476262619815_0.17974760057404637"},"directories":{},"publish_time":1476262620521,"_cnpm_publish_time":1476262620521,"_hasShrinkwrap":false},"1.0.1":{"name":"generic-names","version":"1.0.1","description":"Helper for building generic names, similar to webpack","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","dependencies":{"loader-utils":"^0.2.11"},"devDependencies":{"mocha":"^2.3.3"},"gitHead":"61a09b1e8082139d65abc893bab671c36522d5c0","_id":"generic-names@1.0.1","_shasum":"53b5486967aa89ec1e78827a2dcff3f80913a497","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sullenor","email":"iamhoneyboy@gmail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"dist":{"shasum":"53b5486967aa89ec1e78827a2dcff3f80913a497","size":1966,"noattachment":false,"key":"/generic-names/-/generic-names-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-1.0.1.tgz"},"directories":{},"publish_time":1446491748774,"_cnpm_publish_time":1446491748774,"_hasShrinkwrap":false},"1.0.0":{"name":"generic-names","version":"1.0.0","description":"Helper for building generic names, similar to webpack","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/css-modules/generic-names.git"},"keywords":["css-modules","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"homepage":"https://github.com/css-modules/generic-names#readme","dependencies":{"loader-utils":"^0.2.11"},"devDependencies":{"mocha":"^2.3.3"},"gitHead":"cd01a985c4c288d301832c28beaf3d676a157321","_id":"generic-names@1.0.0","_shasum":"ced6a8ab4752b005382db0ca4744b3071b74bdb0","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sullenor","email":"iamhoneyboy@gmail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"dist":{"shasum":"ced6a8ab4752b005382db0ca4744b3071b74bdb0","size":1963,"noattachment":false,"key":"/generic-names/-/generic-names-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-1.0.0.tgz"},"directories":{},"publish_time":1446421984334,"_cnpm_publish_time":1446421984334,"_hasShrinkwrap":false},"1.0.0-beta":{"name":"generic-names","version":"1.0.0-beta","description":"Helper for building generic names, similar to webpack","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/sullenor/generic-names.git"},"keywords":["css-modules","webpack"],"author":{"name":"Alexey Litvinov"},"license":"MIT","bugs":{"url":"https://github.com/sullenor/generic-names/issues"},"homepage":"https://github.com/sullenor/generic-names#readme","dependencies":{"loader-utils":"^0.2.11"},"gitHead":"55c8cf7e70377ca9fe42526e96562c6f06f94f67","_id":"generic-names@1.0.0-beta","_shasum":"979a79b0c47280562260e317472895ab21c61e42","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sullenor","email":"iamhoneyboy@gmail.com"},"maintainers":[{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},{"name":"sullenor","email":"iamhoneyboy@gmail.com"}],"dist":{"shasum":"979a79b0c47280562260e317472895ab21c61e42","size":2158,"noattachment":false,"key":"/generic-names/-/generic-names-1.0.0-beta.tgz","tarball":"http://registry.cnpm.dingdandao.com/generic-names/download/generic-names-1.0.0-beta.tgz"},"directories":{},"publish_time":1445892697459,"_cnpm_publish_time":1445892697459,"_hasShrinkwrap":false}},"readme":"generic-names\n=============\n\nHelper for building generic names, similar to webpack. Designed to be used with [postcss&#x2011;modules&#x2011;scope](https://github.com/css-modules/postcss-modules-scope).\n\nUses [interpolateName](https://github.com/webpack/loader-utils#interpolatename) from the webpack/loader-utils.\n\n## API\n\n```javascript\nvar genericNames = require('generic-names');\nvar generate = genericNames('[name]__[local]___[hash:base64:5]', {\n  context: process.cwd()\n});\n\ngenerate('foo', '/case/source.css'); // 'source__foo___3mRq8'\n```\n","_attachments":{},"homepage":"https://github.com/css-modules/generic-names#readme","bugs":{"url":"https://github.com/css-modules/generic-names/issues"},"license":"MIT"}