{"name":"nanoid","version":"1.0.2","description":"A tiny (172 bytes), secure URL-friendly unique string ID generator","keywords":["uuid","random","id","url"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ai/nanoid.git"},"browser":{"./random.js":"./random-browser.js"},"devDependencies":{"benchmark":"^2.1.4","chalk":"^2.3.1","docdash":"^0.4.0","eslint":"^4.17.0","eslint-ci":"^0.1.1","eslint-config-logux":"^19.0.0","eslint-config-standard":"^10.2.1","eslint-plugin-es5":"^1.2.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jest":"^21.12.1","eslint-plugin-node":"^6.0.0","eslint-plugin-promise":"^3.6.0","eslint-plugin-security":"^1.4.0","eslint-plugin-standard":"^3.0.1","html-webpack-plugin":"^2.30.1","jest":"^22.3.0","jsdoc":"^3.5.5","lint-staged":"^6.1.0","microtime":"^2.1.7","pre-commit":"^1.2.2","rimraf":"^2.6.2","shortid":"^2.2.8","size-limit":"^0.14.1","uuid":"^3.2.1","webpack-dev-server":"^2.11.1","yaspeller-ci":"^1.0.0"},"scripts":{"lint-staged":"lint-staged","spellcheck":"yarn docs && yaspeller-ci *.md docs/*.html","clean":"rimraf docs/ coverage/","docs":"jsdoc --configure .jsdocrc *.js","lint":"eslint-ci *.js test/*.js","test":"jest --coverage && yarn lint && size-limit && yarn spellcheck","demo":"webpack-dev-server --config test/demo/webpack.config"},"jest":{"testEnvironment":"node","coverageThreshold":{"global":{"statements":100}}},"eslintConfig":{"extends":"eslint-config-logux/browser","rules":{"yoda":"off"}},"size-limit":[{"path":"index.js","limit":"172 B"},{"path":"generate.js","limit":"181 B"}],"lint-staged":{"*.md":"yaspeller-ci","*.js":"eslint"},"pre-commit":["lint-staged"],"gitHead":"6e8771bcd1b3348d254d5d966398f9e372c27777","bugs":{"url":"https://github.com/ai/nanoid/issues"},"homepage":"https://github.com/ai/nanoid#readme","_id":"nanoid@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"integrity":"sha512-sCTwJt690lduNHyqknXJp8pRwzm80neOLGaiTHU2KUJZFVSErl778NNCIivEQCX5gNT0xR1Jy3HEMe/TABT6lw==","shasum":"15d2b5e76b6dbfb15cac1000cb457d4bfc845bdb","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-1.0.2.tgz","fileCount":10,"unpackedSize":11627,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmK1S0V0C5/C0/9VqSm86x+sDBn4JRmNRSjwkq5oV5iAiB25JQ1cJdDi6pvp/vP895vEXbCLejhRzOC2tTwNyl+Yg=="}],"size":5249,"noattachment":false,"key":"/nanoid/-/nanoid-1.0.2.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanoid_1.0.2_1518550410350_0.8769834535806953"},"_hasShrinkwrap":false,"readme":"# Nano ID\n\n<img src=\"https://ai.github.io/nanoid/logo.svg\" align=\"right\"\n     alt=\"Nano ID logo by Anton Lovchikov\" width=\"180\" height=\"94\">\n\n**English** | [Русский](./README.ru.md) | [简体中文](./README.zh-CN.md) | [Bahasa Indonesia](./README.id-ID.md)\n\nA tiny, secure, URL-friendly, unique string ID generator for JavaScript.\n\n> “An amazing level of senseless perfectionism,\n> which is simply impossible not to respect.”\n\n* **Small.** 116 bytes (minified and brotlied). No dependencies.\n  [Size Limit] controls the size.\n* **Safe.** It uses hardware random generator. Can be used in clusters.\n* **Short IDs.** It uses a larger alphabet than UUID (`A-Za-z0-9_-`).\n  So ID size was reduced from 36 to 21 symbols.\n* **Portable.** Nano ID was ported\n  to over [20 programming languages](./README.md#other-programming-languages).\n\n```js\nimport { nanoid } from 'nanoid'\nmodel.id = nanoid() //=> \"V1StGXR8_Z5jdHi6B-myT\"\n```\n\n---\n\n<img src=\"https://cdn.evilmartians.com/badges/logo-no-label.svg\" alt=\"\" width=\"22\" height=\"16\" />  Made in <b><a href=\"https://evilmartians.com/devtools?utm_source=nanoid&utm_campaign=devtools-button&utm_medium=github\">Evil Martians</a></b>, product consulting for <b>developer tools</b>.\n\n---\n\n[online tool]: https://gitpod.io/#https://github.com/ai/nanoid/\n[with Babel]:  https://developer.epages.com/blog/coding/how-to-transpile-node-modules-with-babel-and-webpack-in-a-monorepo/\n[Size Limit]:  https://github.com/ai/size-limit\n\n\n## Docs\nRead full docs **[here](https://github.com/ai/nanoid#readme)**.\n","publish_time":1518550411040,"_cnpm_publish_time":1518550411040,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}