basex-encoder
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -9,1 +9,2 @@ /// <reference types="node" /> | ||
export declare const encoder: (ALPHABET: string, defaultEncoding?: BufferEncoding) => IBaseXEncoder; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,4 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.encoder = (ALPHABET, defaultEncoding = 'utf8') => { | ||
export const encoder = (ALPHABET, defaultEncoding = 'utf8') => { | ||
const ALPHABET_MAP = {}; | ||
@@ -5,0 +3,0 @@ const BASE = ALPHABET.length; |
{ | ||
"name": "basex-encoder", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Encode / decode any base X to and from string or buffer", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"main": "dist/node/index.js", | ||
"browser": "dist/browser/index.js", | ||
"types": "lib/index.d.ts", | ||
"scripts": { | ||
"build": "tsc -p ./tsconfig.json && tscpaths -p ./tsconfig.json -s ./src -o ./lib", | ||
"clear": "rm -rf ./lib ./coverage", | ||
"all": "npm run clean && npm run format && npm run lint:fix && npm run build:all && npm run test", | ||
"build:all": "npm run build:module && npm run build:node && npm run build:browser", | ||
"build:browser": "tsc -p ./tsconfig.browser.json && tscpaths -p ./tsconfig.browser.json -s ./src -o ./dist/browser", | ||
"build:module": "tsc -p ./tsconfig.module.json && tscpaths -p ./tsconfig.module.json -s ./src -o ./lib", | ||
"build:node": "tsc -p ./tsconfig.node.json && tscpaths -p ./tsconfig.node.json -s ./src -o ./dist/node", | ||
"clean": "rm -rf ./lib ./dist ./coverage", | ||
"format": "prettier --write \"./*.{js,jsx,ts,tsx}\" \"./src/**/*.{js,jsx,ts,tsx}\"", | ||
"lint": "tslint -c ./tslint.json \"src/**/*\"", | ||
"lint:fix": "tslint --fix -c ./tslint.json \"src/**/*\"", | ||
"start": "yarn clear && yarn format && yarn lint:fix && yarn test && yarn build", | ||
"prepublish": "yarn start", | ||
"lint": "tslint -c ./tslint.json \"src/**/*.ts\"", | ||
"lint:fix": "tslint --fix -c ./tslint.json \"src/**/*.ts\"", | ||
"precommit": "npm run all", | ||
"prepublish": "npm run all", | ||
"reinstall": "rm -rf ./node_modules ./package-lock.json ./yarn.lock && yarn", | ||
"start": "npm run test", | ||
"test": "jest", | ||
@@ -45,3 +53,3 @@ "test:coverage": "jest --coverage", | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.0.12", | ||
"@types/node": "^12.6.2", | ||
"coveralls": "^3.0.4", | ||
@@ -55,5 +63,5 @@ "jest": "^24.8.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.5.2" | ||
"typescript": "^3.5.3" | ||
}, | ||
"dependencies": {} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38890
16
865