flip-orientation

1.0.1 • Public • Published

flip-orientation

Flips the orientation of a cell.

Example

var flip = require('flip-orientation')
 
console.log(flip([0, 1, 2]))

Install

npm i flip-orientation

API

require('flip-orientation')(cell)

Flips the orientation of a cell

  • cell is a list of integers

Returns cell, after flipping the orientation of cell

Note This is a destructive operation

License

(c) 2015 Mikola Lysenko. MIT License

Package Sidebar

Install

npm i flip-orientation

Weekly Downloads

8

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mikolalysenko