1.0.16 • Published 4 years ago

permutant v1.0.16

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Permutant Framework 1.0.16

Permutant is a JavaScript/TypeScript and Dart framework to find every possible permutation of an array (or list in Dart) of data.

Created with ❤️ by @markmusic2727 and @filippofonseca

Table of Content

Why Permutant?

Permutant allows for seamless and easy use of complex algorithms (like Heap's Algorithm) to find every possible permutation of an array/list. Algorithms like these usually take a general understanding of computer science and mathematical concepts, like recursion and factorials, to recreate. Instead of spending valueble time grasping these conceps, simply create a Permutant instance. That is all it takes.

Multi Language Integration

Permutant is not limited to single language architecture. It was designed and optimized to work with TypeScript, and Dart. With cohesive imports and fuctionality, Permutant keeps both codebases consistent, allowing for Permutant to remain the same on all languages.

Get Started

Ensure that you have the latest version of Node and npm (if using TS) or Dart installed.

Using Permutant with Dart

1. Add Permutant to Dependancies

In your pubspec.yaml file, add the following to your dependancies:

dependencies:
  ...
  permutant: ^1.0.15

2. Initiaization

At the top of your Dart file, import the permutant package, as shown:

import 'package:permutant/dart/permutant.dart';

Using Permutant with TypeScript

1. Installation with npm

npm i permutant

2. Initiaization

At the top of your TypeScript file, import permutant, as shown:

import Permutant from "permutant";

NOTE: The name Permutant after import is arbitrary; it can be replaced with whatever you'd like and the code will still run properly:

import Foo from "permutant";

Learn More

Want to know more about what goes behing the scenes in Permutant? We, at Permutant, have made a comprehensive lesson on all of the math behind Heap's Algorithm. Check out the lesson here.

If you want to know more about the functions and the different methods that can be called with Permutant, view the documentation here.

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago