Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @array-like/rotate

npm

npm install @array-like/rotate --save

jspm

jspm install npm:@array-like/rotate

Usage

Import the library where needed

const {rotateLeft, rotateRight} = await import('@array-like/rotate');
// or
import {rotateLeft, rotateRight} from '@array-like/rotate';

Examples

More examples in the test files.