3.0.8 • Published 2 years ago
sqnc v3.0.8
sqnc |
Utility for numeric or symbolic seqence generation. Specify range of values, step or custom function to create array with seqence
Installation
Install as npm package
npm i sqnc --save
Or simply download *.js file
Or just load from CDN
<script src="//cdn.jsdelivr.net/npm/sqnc@3.0.8/dist/sqnc.js" integrity="sha512-3tikuegV0rx0lArqTp53bFeEFfgc9E9HuBpFkX2TqxP7PkIJ2Pdn/iMmUfna5VsUdEjN1fX6j1u2sgSbe0eGgQ==" crossorigin="anonymous">
</script>
And then use sqnc as global variable
<script>
console.log(sqnc("👶", "👰"));
</script>
Documentation
Example
Run example with runkit
const sqnc = require("sqnc");
console.log(sqnc("A", "Z").toArray()); // Alphabet
console.log(sqnc("👶", "👰").toArray()); // Some emojis
console.log(sqnc(25, 0, 5).toArray()); // From 25 to 0 with step 5
console.log(sqnc("☠").toArray(5)); // Make Array(5) of Skull and bones symbol
3.0.8
2 years ago
3.0.6
2 years ago
3.0.5
2 years ago
3.0.3
5 years ago
3.0.1
5 years ago
3.0.0
5 years ago
2.0.15
5 years ago
2.0.14
5 years ago
2.0.13
5 years ago
2.0.9
5 years ago
2.0.7
5 years ago
2.0.6
5 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago