{"versions":{"1.1.1":{"name":"easy-bem","version":"1.1.1","description":"Easy BEM class name generator","main":"index.js","scripts":{"test":"mocha --reporter spec"},"types":"types/index.d.ts","contributors":[{"name":"Vitaliy Green"},{"name":"Norserium"}],"license":"MIT","keywords":["react","bem"],"repository":{"type":"git","url":"git+https://github.com/Norserium/easy-bem.git"},"bugs":{"url":"https://github.com/Norserium/easy-bem/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"23a8be1b08ee8572a82bf8979939f22da20af686","homepage":"https://github.com/Norserium/easy-bem#readme","_id":"easy-bem@1.1.1","_nodeVersion":"12.18.3","_npmVersion":"6.11.2","dist":{"shasum":"1bfcc10425498090bcfddc0f9c000aba91399e03","size":1462,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/easy-bem/-/easy-bem-1.1.1.tgz","integrity":"sha512-GJRqdiy2h+EXy6a8E6R+ubmqUM08BK0FWNq41k24fup6045biQ8NXxoXimiwegMQvFFV3t1emADdGNL1TlS61A=="},"_npmUser":{"name":"anonymous","email":"norserium@yandex.ru"},"directories":{},"maintainers":[{"name":"anonymous","email":"norserium@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easy-bem_1.1.1_1614523449256_0.24857863217409504"},"_hasShrinkwrap":false,"publish_time":1614523449392,"_cnpm_publish_time":1614523449392,"_cnpmcore_publish_time":"2021-12-16T14:49:41.732Z"},"1.1.0":{"name":"easy-bem","version":"1.1.0","description":"Easy BEM class name generator","main":"index.js","scripts":{"test":"mocha --reporter spec"},"types":"types/index.d.ts","contributors":[{"name":"Vitaliy Green"},{"name":"Norserium"}],"license":"MIT","keywords":["react","bem"],"repository":{"type":"git","url":"git+https://github.com/Norserium/easy-bem.git"},"bugs":{"url":"https://github.com/Norserium/easy-bem/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"3e3474ca19e8701c3ecfa6354f9fdd509cbc9196","homepage":"https://github.com/Norserium/easy-bem#readme","_id":"easy-bem@1.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.11.2","dist":{"shasum":"eae250ad716dd018a1f868d85d806e572fe23540","size":1460,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/easy-bem/-/easy-bem-1.1.0.tgz","integrity":"sha512-YTaMssoT/Hny2lI2oYz5bTzpcyhZ2sLzJlRiPPyIAsXsVOifw3hwQ8gR/neBu/yHCCg7FJJXY1bFbhXul+Lz8w=="},"_npmUser":{"name":"anonymous","email":"norserium@yandex.ru"},"directories":{},"maintainers":[{"name":"anonymous","email":"norserium@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easy-bem_1.1.0_1614521446145_0.5792257693276315"},"_hasShrinkwrap":false,"publish_time":1614521446239,"_cnpm_publish_time":1614521446239,"_cnpmcore_publish_time":"2021-12-16T14:49:41.961Z"},"1.0.2":{"name":"easy-bem","version":"1.0.2","description":"Easy BEM class name generator","main":"index.js","scripts":{"test":"mocha --reporter spec"},"contributors":[{"name":"Vitaliy Green"},{"name":"Norserium"}],"license":"MIT","keywords":["react","bem"],"repository":{"type":"git","url":"git+https://github.com/Norserium/easy-bem.git"},"bugs":{"url":"https://github.com/Norserium/easy-bem/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"58b47f94358a17ce07d26a0140f39f2290b5e5b7","homepage":"https://github.com/Norserium/easy-bem#readme","_id":"easy-bem@1.0.2","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"shasum":"3f759158c045465744900aa26ba8bd7d88d7a969","size":1660,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/easy-bem/-/easy-bem-1.0.2.tgz","integrity":"sha512-tHtLDhcEHZIMKdiiZElQoR8TcZ/6rvcNp7//93Vx/mqNLah9BOFGhhzTUfWLJs7uxZiKMdP/KzGOtzq14DrrqQ=="},"maintainers":[{"name":"anonymous","email":"norserium@yandex.ru"}],"_npmUser":{"name":"anonymous","email":"norserium@yandex.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easy-bem_1.0.2_1561214143724_0.17258268713816105"},"_hasShrinkwrap":false,"publish_time":1561214143826,"_cnpm_publish_time":1561214143826,"_cnpmcore_publish_time":"2021-12-16T14:49:42.207Z"},"1.0.1":{"name":"easy-bem","version":"1.0.1","description":"Easy BEM class name generator","main":"index.js","scripts":{"test":"mocha --reporter spec"},"contributors":[{"name":"Vitaliy Green"},{"name":"Norserium"}],"license":"MIT","keywords":["react","bem"],"repository":{"type":"git","url":"git+https://github.com/Norserium/easy-bem.git"},"bugs":{"url":"https://github.com/Norserium/easy-bem/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"8dc526efe0507cafaac1c6d5d91405183d4cf126","homepage":"https://github.com/Norserium/easy-bem#readme","_id":"easy-bem@1.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.10.0","_npmUser":{"name":"anonymous","email":"norserium@yandex.ru"},"dist":{"shasum":"9b4a7f33da2c334b8dff008c7e923e08dd38b7ef","size":1832,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/easy-bem/-/easy-bem-1.0.1.tgz","integrity":"sha512-yHPzU6johdIZR/UiX8Ucx6I7bFZogtNRJaFH2NVunGUxze3hFJ0S2ANd3LZdaRTOQQd6MItSS45POCF3yQaAgA=="},"maintainers":[{"name":"anonymous","email":"norserium@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easy-bem_1.0.1_1555151283573_0.17308381037401133"},"_hasShrinkwrap":false,"publish_time":1555151283708,"_cnpm_publish_time":1555151283708,"_cnpmcore_publish_time":"2021-12-16T14:49:42.483Z"},"1.0.0":{"name":"easy-bem","version":"1.0.0","description":"Easy BEM class name generator","main":"index.js","scripts":{"test":"mocha --reporter spec"},"contributors":[{"name":"Vitaliy Green"},{"name":"Norserium"}],"license":"MIT","keywords":["react","bem"],"repository":{"type":"git","url":"git+https://github.com/Norserium/easy-bem.git"},"bugs":{"url":"https://github.com/Norserium/easy-bem/issues"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"0118d530d1900174a6bd94c130498f2d0942571b","homepage":"https://github.com/Norserium/easy-bem#readme","_id":"easy-bem@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.10.0","_npmUser":{"name":"anonymous","email":"norserium@yandex.ru"},"dist":{"shasum":"6b13de0c1fc2963b3b084dbdeb09d1867688d019","size":1790,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/easy-bem/-/easy-bem-1.0.0.tgz","integrity":"sha512-kFDuawr7iBBtjG3BZ96CNbEqtdsXGBrLeY53mQ4tZVh1DTahI7Tsick0EfC8ekGQZ5lOLX0GKxt9LZ3GPuIZhg=="},"maintainers":[{"name":"anonymous","email":"norserium@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easy-bem_1.0.0_1554803347815_0.07849407200825542"},"_hasShrinkwrap":false,"publish_time":1554803348069,"_cnpm_publish_time":1554803348069,"_cnpmcore_publish_time":"2021-12-16T14:49:42.701Z"}},"dist-tags":{"latest":"1.1.1"},"name":"easy-bem","time":{"created":"2022-01-27T07:19:23.739Z","modified":"2022-01-27T07:19:23.739Z","1.1.1":"2021-02-28T14:44:09.392Z","1.1.0":"2021-02-28T14:10:46.239Z","1.0.2":"2019-06-22T14:35:43.826Z","1.0.1":"2019-04-13T10:28:03.708Z","1.0.0":"2019-04-09T09:49:08.069Z"},"readme":"# Easy BEM class name generator\r\n\r\n> Simple and fast [BEM](https://en.bem.info/) class names generator.\r\n\r\n[![NPM](https://img.shields.io/npm/v/easy-bem.svg)](https://www.npmjs.com/package/easy-bem)\r\n\r\n\r\nFork of [bem-cn-fast](https://github.com/GREENpoint/bem-cn-fast) that uses another delimiters (personally I like them more):\r\n\r\n- The element name is separated from the block name by a double underscore (`__`)\r\n- The modifier name is separated from the block or element name by a double dash (`--`)\r\n- The modifier value is separated from the modifier name by a single underscore (`_`)\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install --save easy-bem\r\n```\r\n\r\n```bash\r\nyarn add easy-bem\r\n```\r\n\r\n## Usage\r\n\r\n```javascript\r\nimport bem from 'easy-bem';\r\nconst b = bem('block');\r\n\r\nb(); // -> 'block'\r\nb('element'); // -> 'block__element'\r\nb({ mod1: true, mod2: 'some-value' }); // -> 'block--mod1 block--mod2_some-value'\r\nb('element', { mod1: true }); // -> 'block__element--mod1'\r\n```","users":{}}