UNPKG

@waiting/base64

Version:

Base64 encoding/decoding in pure JS on both modern Browsers and Node.js. Also supports URL-safe base64

115 lines (114 loc) 3.36 kB
{ "name": "@waiting/base64", "author": "waiting", "version": "4.2.9", "description": "Base64 encoding/decoding in pure JS on both modern Browsers and Node.js. Also supports URL-safe base64", "keywords": [ "base64", "URL-safe", "atob", "btoa", "browser", "Node.js", "rfc4648", "TextEncoder", "TextDecoder", "buffer", "ArrayBuffer", "Uint8Array", "typescript", "ts" ], "engines": { "node": ">=10.4.0" }, "bin": {}, "browser": "./dist/base64.esm.js", "es2015": "./dist/base64.esm.js", "main": "./dist/index.cjs.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "bugs": { "url": "https://github.com/waitingsong/base64/issues" }, "homepage": "https://github.com/waitingsong/base64#readme", "repository": { "type": "git", "url": "git+https://github.com/waitingsong/base64.git" }, "license": "MIT", "nyc": { "exclude": [ "**/*.js", "**/*.test.ts", "**/*.d.ts", ".githooks", "dist", "node_modules*", "src/bin", "test*" ], "extension": [ ".ts", ".tsx" ], "reporter": [ "text-summary", "html" ], "all": true }, "dependencies": {}, "devDependencies": { "@types/mocha": "*", "@types/node": "^12.0.2", "@types/power-assert": "*", "@types/rewire": "*", "@types/rimraf": "*", "@types/yargs": "^13.0.0", "@waiting/shared-core": "^1.9.2", "coveralls": "^3.0.5", "intelli-espower-loader": "^1.0.1", "mocha": "^6.1.4", "mocha-lcov-reporter": "^1.3.0", "nyc": "^14.1.1", "power-assert": ">=1.5", "rewire": "^4.0.0", "rimraf": "^2.6.2", "rollup-plugin-commonjs": "^10.0.0", "rollup-plugin-node-resolve": "^5.0.1", "rollup-plugin-terser": "^5.0.0", "rxrunscript": "^5.2.0", "ts-node": "^8.1.0", "tslint": "^5.16.0", "tslint-eslint-rules": "^5.4.0", "typescript": "^3.5.0", "yargs": "^12.0.1" }, "scripts": { "bp:add": "git remote add bp https://github.com/waitingsong/npm-base", "bp:sync": "git fetch --all -v && git merge bp/master -m \"Merge remote-tracking branch 'bp/master'\"", "build": "npm run clean && npm run lint && npm run lint:t && npm run tsc && npm run jslint && npm run rp", "devbuild": "npm run clean && npm run tsc:dev && npm run rp", "clean": "rm -rf dist/*", "cov": "nyc mocha", "cov:coveralls": "nyc mocha && nyc report --reporter=text-lcov | coveralls", "doc": "typedoc src/index.ts src/lib/index.ts src/lib/model.ts", "jslint": "eslint --fix dist/**/*.js", "link_global": "npm link typescript", "lint": "tslint --fix -p tsconfig.json -t stylish", "lint:t": "tslint --fix -p test/tsconfig.json -t stylish", "prepublishOnly": "npm run build", "release": "standard-version -r", "release:first": "standard-version --first-release", "repo:init": "sh .githooks/init-repo.sh", "rp": "rollup -c rollup.config.js", "rp:w": "npm run tsc:w | rollup -wc rollup.config.js", "test": "mocha --opts test/mocha.opts", "test:browser": "cd .config && npm run browser && cd ..", "browser:debug": "cd .config && npm run debug && cd ..", "tsc": "tsc -p tsconfig.json", "tsc:dev": "tsc -p tsconfig.dev.json", "tsc:w": "tsc -p tsconfig.json -w" } }