Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @array-like/swap

npm

npm install @array-like/swap --save

jspm

jspm install npm:@array-like/swap

Usage

Import the library where needed

const swap = await import('@array-like/swap');
// or
import * as swap from '@array-like/swap';

Examples

More examples in the test files.