1.1.2 • Published 6 years ago

@purecars/oauth-js v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Oauth JS

Contents

Features

  • Minimal Oauth 2.0 client library
  • Simple management of Oauth flow
  • Compliant with bundle tree-shaking

Contributing

  • npm start - execute code in src directory with live reload via nodemon transpiled with babel-node
  • npm run serve:dev <target> - execute target code with live reload via nodemon transpiled with babel-node
  • npm run benchmark - run benchmark tests with benchmark.js
  • npm run benchmark:watch - run benchmark tests with benchmark.js and watch for file changes
  • npm run lint - code linting with eslint
  • npm run lint:fix - fix problems automatically with eslint
  • npm test - run tests with mocha and chai with spec as reporter and nyc code coverage
  • npm run test:watch - run tests with mocha and chai and watch for changes
  • npm run test:report - export tests results as html files in the ./reports folder via mochasome
  • npm run build:dist - transpile and minify ES6+ code and create sourcemaps with babel & babili
  • npm run serve:dist - serve production files from the ./dist folder via node
  • npm run scan:security - run vulnerability tests via the node security platform nsp

Testing

Testing with Mocha and Chai, HTML Reports via mochawesome

npm test

Benchmarking Suite

Benchmark Testing with Benchmark.js

npm run benchmark

Security

Run vulnerability tests via Node Security Project