JSPM

  • Created
  • Published
  • Downloads 25
  • Score
    100M100P100Q70218F
  • License MIT

Implementations of select OEIS integer sequences in JavaScript.

Package Exports

  • jisg

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jisg) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

JavaScript Integer Sequence Generators

npm version npm Build Status

Implementations of select OEIS integer sequences in JavaScript, portially inspired by intseq.

How to use

  1. Install
    • yarn add jisg
  2. Use
import jisg from 'jisg'
const generator = jisg.A000045()
for (let i=0; i<43; i++) {
   console.log(generator.next().value)
}

Commands

  • yarn check : Checking the updates of all your dependencies
  • yarn lint : Linting via ESLint
  • yarn clean : Clean the ./dist folder
  • yarn build: Clean and build src to dist
  • yarn test: Run tests via Jest
  • yarn test --coverage: Generates test coverage report via Jest
  • yarn example: Run example to test transpiled code
  • yarn prepare: Clean, lint, test then build
  • yarn publish: Interactive check, clean, test, bumping version, tag commits, push repo and publish