Simple module to emulate the Python array slicer in JavaScript
pySlicer python like slice
Use a string separated by ':' with this format 'start:stop:step' like function call if not provided they will default to 0, array.length, 1
import defineArray from "pyslicer"
/*or const defineArray = require("pyslicer")*/
let array = defineArray([1,2,3,5,6,7])
let sliced_array = array['1:2:3']