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 1,000,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


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

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

Want to contribute? GET STARTED HERE


npm install allalgorithms

Usage Example

const allalgorithms = require('allalgorithms');

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

// -> [-2, 1, 2, 7, 10, 77]




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


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

[1]: [2]: [3]: [4]: [5]:
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