123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- {
- "_from": "hashids@^1.2.2",
- "_id": "hashids@1.2.2",
- "_inBundle": false,
- "_integrity": "sha512-dEHCG2LraR6PNvSGxosZHIRgxF5sNLOIBFEHbj8lfP9WWmu/PWPMzsip1drdVSOFi51N2pU7gZavrgn7sbGFuw==",
- "_location": "/hashids",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "hashids@^1.2.2",
- "name": "hashids",
- "escapedName": "hashids",
- "rawSpec": "^1.2.2",
- "saveSpec": null,
- "fetchSpec": "^1.2.2"
- },
- "_requiredBy": [
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/hashids/-/hashids-1.2.2.tgz",
- "_shasum": "28635c7f2f7360ba463686078eee837479e8eafb",
- "_spec": "hashids@^1.2.2",
- "_where": "/home/zorro/Documents/schild.report/bk2019",
- "author": {
- "name": "Ivan Akimov",
- "email": "ivan@barreleye.com",
- "url": "https://twitter.com/IvanAkimov"
- },
- "browser": "dist/hashids.min",
- "browserslist": [
- "last 2 version",
- "> 0.5%",
- "maintained node versions",
- "not dead"
- ],
- "bugs": {
- "url": "https://github.com/ivanakimov/hashids.js/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Generate YouTube-like ids from numbers. Use Hashids when you do not want to expose your database ids to the user.",
- "devDependencies": {
- "@babel/cli": "^7.0.0",
- "@babel/core": "^7.0.0",
- "@babel/plugin-syntax-dynamic-import": "7.0.0",
- "@babel/preset-env": "^7.0.0",
- "@babel/register": "^7.0.0",
- "babel-eslint": "9.0.0",
- "chai": "^4.1.2",
- "coveralls": "^3.0.2",
- "eslint": "^5.4.0",
- "husky": "^0.14.3",
- "mocha": "^5.2.0",
- "nyc": "^13.0.1",
- "uglify-js": "^3.4.8"
- },
- "homepage": "http://hashids.org/javascript",
- "keywords": [
- "hashids",
- "hashid",
- "hash",
- "ids",
- "youtube",
- "bitly",
- "obfuscate",
- "encode",
- "decode",
- "encrypt",
- "decrypt"
- ],
- "license": "MIT",
- "main": "dist/hashids",
- "module": "dist/hashids-esm",
- "name": "hashids",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/ivanakimov/hashids.js.git"
- },
- "scripts": {
- "all": "npm run lint && npm run coverage && npm run build && npm run clean",
- "build": "npm run test && npm run build:node && npm run build:modules && npm run rename:global && npm run minify",
- "build:modules": "BABEL_MODULES=1 babel lib/hashids.js --source-maps -o dist/hashids.mjs && cp dist/hashids.mjs dist/hashids-esm.js",
- "build:node": "babel lib/hashids.js --source-maps -o dist/index.js",
- "clean": "rm -rf coverage .nyc_output npm-debug.log",
- "coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
- "lint": "eslint lib tests",
- "minify": "cd dist && uglifyjs index.js -o hashids.min.js --source-map \"url=hashids.min.js.map\" --compress --mangle",
- "precommit": "npm run lint && npm run test",
- "rename:global": "sed -i '' 's/global.hashids/global.Hashids/g' dist/index.js",
- "test": "mocha tests --require @babel/register",
- "test-modules": "node --experimental-modules node_modules/mocha/bin/_mocha tests-mjs"
- },
- "version": "1.2.2"
- }
|