Comparing version 0.4.0 to 1.0.0
@@ -28,3 +28,3 @@ "use strict"; | ||
function bb26Range(start, end) { | ||
let range = []; | ||
const range = []; | ||
const _end = end || start; | ||
@@ -31,0 +31,0 @@ const _start = end ? start : 'A'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** @ignore */ | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
function sample(array) { | ||
@@ -5,0 +6,0 @@ return array[Math.floor(Math.random() * array.length)]; |
{ | ||
"name": "bb26", | ||
"version": "0.4.0", | ||
"version": "1.0.0", | ||
"description": "Bijective base-26 utility functions", | ||
@@ -25,3 +25,3 @@ "repository": "github:ptrkcsk/BB26", | ||
"build": "tsc", | ||
"docs": "typedoc", | ||
"docs": "typedoc && git restore docs/CNAME", | ||
"prepublishOnly": "npm run build", | ||
@@ -31,2 +31,3 @@ "test": "jest", | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -36,2 +37,5 @@ "@sindresorhus/tsconfig": "^0.7.0", | ||
"@types/lodash.sample": "^4.2.6", | ||
"@typescript-eslint/eslint-plugin": "^3.0.2", | ||
"@typescript-eslint/parser": "^3.0.2", | ||
"eslint": "^7.1.0", | ||
"jest": "^26.0.1", | ||
@@ -38,0 +42,0 @@ "ts-jest": "^26.0.0", |
# BB26 | ||
[![BB26 test coverage](https://badgen.net/codeclimate/coverage/ptrkcsk/BB26?icon=codeclimate)](https://codeclimate.com/github/ptrkcsk/BB26) [![BB26 maintainability](https://badgen.net/codeclimate/maintainability/ptrkcsk/BB26?icon=codeclimate)](https://codeclimate.com/github/ptrkcsk/BB26) [![BB26 install size](https://badgen.net/packagephobia/install/bb26)](https://packagephobia.now.sh/result?p=bb26) [![BB26 minified and gzipped size](https://badgen.net/bundlephobia/minzip/bb26)](https://bundlephobia.com/result?p=bb26) | ||
[![Test Coverage](https://api.codeclimate.com/v1/badges/c56701b3968f3de65188/test_coverage)](https://codeclimate.com/github/ptrkcsk/BB26/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/c56701b3968f3de65188/maintainability)](https://codeclimate.com/github/ptrkcsk/BB26/maintainability) [![BB26 install size](https://badgen.net/packagephobia/install/bb26)](https://packagephobia.now.sh/result?p=bb26) [![BB26 minified and gzipped size](https://badgen.net/bundlephobia/minzip/bb26)](https://bundlephobia.com/result?p=bb26) | ||
@@ -11,4 +11,4 @@ [Bijective base-26](https://en.wikipedia.org/wiki/Bijective_numeration#The_bijective_base-26_system) utility functions for JavaScript | ||
```bash | ||
npm i bb26 | ||
```sh | ||
npm install bb26 | ||
``` | ||
@@ -15,0 +15,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
15810
27
380
0
10