lua-style-arrays

0.1.0 • Public • Published

lua-style-arrays CircleCI

NPM

A small NPM module with zero dependencies to make Lua-style arrays that start at one.

Usage

var convertToLuaStyle = require('lua-style-arrays');
 
var luaStyleArray = convertToLuaStyle(['this is', 'a lua-style array']);
 
console.log(luaStyleArray[1]);
// this is
console.log(luaStyleArray[0]);
// undefined

Readme

Keywords

Package Sidebar

Install

npm i lua-style-arrays

Weekly Downloads

1

Version

0.1.0

License

SEE LICENSE IN LICENSE

Unpacked Size

17.2 kB

Total Files

11

Last publish

Collaborators

  • lewisakura