Comparing version 1.0.0 to 1.1.0
@@ -0,0 +0,0 @@ 'use strict' |
{ | ||
"name": "choose-it", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Choose a resource in a Jungle 🌴🌴🌴 tree", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "standard && tap --coverage test/**/*.test.js", | ||
"coveralls": "tap --coverage-report=text-lcov test/**/*.test.js | node ./node_modules/coveralls/bin/coveralls.js", | ||
"coverage": "npm test && npm run coveralls" | ||
"lint": "standard", | ||
"lint:fix": "standard --fix", | ||
"test": "tap test/**/*.test.js" | ||
}, | ||
@@ -28,2 +28,3 @@ "repository": { | ||
"author": "Manuel Spigolon <behemoth89@gmail.com> (https://github.com/Eomm)", | ||
"funding": "https://github.com/Eomm/choose-it?sponsor=1", | ||
"license": "MIT", | ||
@@ -35,6 +36,5 @@ "bugs": { | ||
"devDependencies": { | ||
"coveralls": "^3.0.3", | ||
"pre-commit": "^1.2.2", | ||
"standard": "^12.0.1", | ||
"tap": "^12.5.3" | ||
"standard": "^17.0.0", | ||
"tap": "^16.3.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "dependencies": { |
# choose-it | ||
[![Coverage Status](https://coveralls.io/repos/github/Eomm/choose-it/badge.svg?branch=master)](https://coveralls.io/github/Eomm/choose-it?branch=master) | ||
[![Build Status](https://travis-ci.com/Eomm/choose-it.svg?branch=master)](https://travis-ci.com/Eomm/choose-it) | ||
[![Build Status](https://github.com/Eomm/choose-it/workflows/ci/badge.svg)](https://github.com/Eomm/choose-it/actions) | ||
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
@@ -22,3 +21,15 @@ [![install size](https://packagephobia.now.sh/badge?p=choose-it)](https://packagephobia.now.sh/result?p=choose-it) | ||
![Generic Tree](./docs/tree.png) | ||
```mermaid | ||
graph TD; | ||
ROOT((Root))-->A((i<0 R:-1)); | ||
ROOT-->B((i==0 R: 0)); | ||
ROOT-->C((i>0 R: 1)); | ||
A-->A1((i<-5 R: -5)); | ||
A-->A2((i>-5 R: -4)); | ||
B-->B1((i<=10 R: -10)); | ||
C-->C1((i>10 R: 10)); | ||
C-->C2((i<10 R: 9)); | ||
C-->C3((i>99 R: 100)); | ||
C1-->C11((i>6 R: 7)); | ||
``` | ||
@@ -137,11 +148,9 @@ *This tree is built in our tests! | ||
⬜ Emit events `onAdd`, `onFind`, `onMax`, `onEnd` | ||
- [ ] Emit events `onAdd`, `onFind`, `onMax`, `onEnd` | ||
- [ ] Manage Promise in Criteria | ||
- [ ] Performance assessment | ||
⬜ Manage Promise in Criteria | ||
⬜ Performance | ||
## License | ||
Copyright [Manuel Spigolon](https://github.com/Eomm), Licensed under [MIT](./LICENSE). |
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
3
155
11597