use-algorithms

1.0.0 • Public • Published

Use algorithms

Simple implementation of algorithms in JavaScript for your usage.

How to use?

First read what is the input of the algorithm you want to use in src/algorithms/, then call it and apply it.

const { fibonacci } = require('use-algorithms');

const fibonacciSequenceList = fibonacci(9);

console.log(fibonacciSequenceList); // [1, 1, 2, 3, 5, 8, 13, 21, 34]

CONTRIBUTE

You can contribute by adding any algorithm you want, follow the next stablished rules to create a PR.

Feel free to contribute 🚀.

Readme

Keywords

Package Sidebar

Install

npm i use-algorithms

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

15.9 kB

Total Files

20

Last publish

Collaborators

  • alan-davd