UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

93 lines (92 loc) 2.85 kB
{ "_args": [ [ { "raw": "unique-slug@^2.0.0", "scope": null, "escapedName": "unique-slug", "name": "unique-slug", "rawSpec": "^2.0.0", "spec": ">=2.0.0 <3.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/unique-filename" ] ], "_from": "unique-slug@>=2.0.0 <3.0.0", "_id": "unique-slug@2.0.0", "_inCache": true, "_location": "/unique-slug", "_nodeVersion": "5.1.0", "_npmUser": { "name": "othiym23", "email": "ogd@aoaioxxysz.net" }, "_npmVersion": "3.5.1", "_phantomChildren": {}, "_requested": { "raw": "unique-slug@^2.0.0", "scope": null, "escapedName": "unique-slug", "name": "unique-slug", "rawSpec": "^2.0.0", "spec": ">=2.0.0 <3.0.0", "type": "range" }, "_requiredBy": [ "/unique-filename" ], "_resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz", "_shasum": "db6676e7c7cc0629878ff196097c78855ae9f4ab", "_shrinkwrap": null, "_spec": "unique-slug@^2.0.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/unique-filename", "author": { "name": "Rebecca Turner", "email": "me@re-becca.org", "url": "http://re-becca.org" }, "bugs": { "url": "https://github.com/iarna/unique-slug/issues" }, "dependencies": { "imurmurhash": "^0.1.4" }, "description": "Generate a unique character string suitible for use in files and URLs.", "devDependencies": { "standard": "^5.4.1", "tap": "^2.3.1" }, "directories": {}, "dist": { "shasum": "db6676e7c7cc0629878ff196097c78855ae9f4ab", "tarball": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz" }, "gitHead": "b1d9d082ee5bd381961a2011a9aa3d9988e83ca7", "homepage": "https://github.com/iarna/unique-slug#readme", "keywords": [], "license": "ISC", "main": "index.js", "maintainers": [ { "name": "iarna", "email": "me@re-becca.org" }, { "name": "othiym23", "email": "ogd@aoaioxxysz.net" } ], "name": "unique-slug", "optionalDependencies": {}, "readme": "unique-slug\n===========\n\nGenerate a unique character string suitible for use in files and URLs.\n\n```\nvar uniqueSlug = require('unique-slug')\n\nvar randomSlug = uniqueSlug()\nvar fileSlug = uniqueSlug('/etc/passwd')\n```\n\n### uniqueSlug(*str*) → String (8 chars)\n\nIf *str* is passed in then the return value will be its murmur hash in\nhex.\n\nIf *str* is not passed in, it will be 4 bytes coverted into 8 hex\ncharacters, generated by `crypto.pseudoRandomBytes`.\n\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/iarna/unique-slug.git" }, "scripts": { "test": "standard && tap --coverage test" }, "version": "2.0.0" }