项目作者: baburikon

项目描述 :
Algorithms contemporary JS
高级语言: JavaScript
项目地址: git://github.com/baburikon/algorithms.git
创建时间: 2020-02-27T14:01:40Z
项目社区:https://github.com/baburikon/algorithms

开源协议:

下载


Algorithms contemporary JS

Quickstart

  1. npm i @baburikon/algorithms

babel.config.js

  1. module.exports = {
  2. ignore: [/node_modules\/(?!@baburikon\/algorithms)/]
  3. };

yourFile.js

  1. import { sortQuick } from "@baburikon/algorithms";
  2. const arr = [1, 3, 2];
  3. sortQuick(arr);
  4. console.log(arr);

sic!

  1. node_modules/.bin/babel-node --ignore no yourFile.js