JSPM

functional-bowling

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q29162F
  • License AGPL-3.0

Functional algorithm of Bowling scoring written in JavaScript with TDD model

Package Exports

  • functional-bowling

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 (functional-bowling) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Functional Bowling

Functional algorithm of Bowling scoring written in JavaScript with TDD model, which came out from @TechQuery after a Pair Programming activity of FCC-CDG Council.

NPM Dependency

NPM

Use it as a Library

First of all

npm init

npm install functional-bowling

then you can use this package in two typical environments:

Web Browser

<head>
    <script src="node_modules/@babel/polyfill/dist/polyfill.min.js"></script>
    <script src="node_modules/functional-bowling/dist/functional-bowling.js"></script>
    <script>
        var bowling = window['functional-bowling'];
    </script>
</head>

Node.JS

import * as bowling from 'functional-bowling';

Learn or Develop it

Fork this repository to your namespace on GitHub, and then execute commands shown below:

git clone https://github.com/{your_namespace}/Functional-Bowling.git

npm install

# Modify some code, and then
npm test

# After developing
git commit -m "{What you have changed}"

In the end, you can create a Pull request to the original repository.