1.4.7 • Published 8 months ago

structkit v1.4.7

Weekly downloads
4
License
MIT
Repository
github
Last release
8 months ago

Structkit

NPM version

Site | Docs |

Download

To download this JS library and install in your local library

Using npm to install in your project folder:

$ npm i structkit

How to import the Library

In a browser :

<script src="structkit-full.iife.js"></script>

Import on cjs

const {repeat} = require('structkit');

Import on ESM or TS

import {repeat} from 'structkit';

Example

In a browser

_stk.repeat("1",20)

keep in mind _stk is used as global library at html

CJS, ESM and TS use this code below

repeat("1",20)

Partial sampe you can use as your utitlity function

get the first index of array

first([2,3,4,5])// 2

get the last index of array

last([2,3,4,5])// 5

get start and end of array index

arraySlice([1,2],1)// [2]

get sum of array

arraySum([1,2])// 3.00
1.4.61

9 months ago

1.4.7

8 months ago

1.4.6

9 months ago

1.4.5

9 months ago

1.4.2

9 months ago

1.4.1

10 months ago

1.3.1

2 years ago

1.0.1

3 years ago