npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

flip-orientation

1.0.1

@mikolalysenko

npmHomeRepoSnykSocket
Downloads:215
$ npm install flip-orientation
DailyWeeklyMonthlyYearly

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