Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including allalgorithms with all npm packages installed. Try it out:

var allalgorithms = require("allalgorithms")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

allalgorithms v0.0.3

A collection of All ▲lgorithms implemented in JavaScript





The All ▲lgorithms Javascript library



js.allalgorithms.com

Why?

  • Why not 😂
  • Clean and focused
  • Actively maintained
  • Because All Algorithms should be easy to use in Javascript

Read the detailed documentation at js.allalgorithms.com or see the docs directory on Github. See Tree.

Want to contribute? GET STARTED HERE

Install

npm install allalgorithms

Usage Example

const allalgorithms = require('allalgorithms');

arr = [77, 2, 10, -2, 1, 7]

console.log(allalgorithms.sorting.bubbleSort(arr));
// -> [-2, 1, 2, 7, 10, 77]

Tree

Related

Maintainers

[![Carlos Abraham Logo][3]][4]
[Carlos Abraham][4]

License

[MIT][5] License © [Carlos Abraham][4]

[1]: https://cdn.abranhe.com/projects/algorithms/badge.svg [2]: https://github.com/abranhe/allalgorithms-js [3]: https://avatars3.githubusercontent.com/u/21347264?s=50 [4]: https://github.com/abranhe [5]: https://github.com/abranhe/allalgorithms-js/blob/master/license
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free