Package Exports
- jsmp-infra-alina_lukianytsia-magic_ball
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 (jsmp-infra-alina_lukianytsia-magic_ball) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
jsmp-infra-alina_lukianytsia-magic_ball
jsmp-infra-alina_lukianytsia-magic_ball - can give you an answer to any question except of alternative.
Installation
npm install jsmp-infra-alina_lukianytsia-magic_ballUsage
ES6
import { MagicBall } from 'jsmp-infra-alina_lukianytsia-magic_ball';
// with default values:
const magicBall = new MagicBall();
const answer = magicBall.getAnswer(); // => answer = "It is decidedly so"
// with set values:
const magicBall = new MagicBall(['yes', 'no']);
const answer = magicBall.getAnswer(); // => answer = "yes"Node
const { MagicBall } = require('jsmp-infra-alina_lukianytsia-magic_ball');
// with default values:
const magicBall = new MagicBall();
const answer = magicBall.getAnswer(); // => answer = "It is decidedly so"
// with set values:
const magicBall = new MagicBall(['yes', 'no']);
const answer = magicBall.getAnswer(); // => answer = "yes"
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D