@i-components/i-util

1.0.8 • Public • Published

i-util

A pure es module util for i-components

The v1.0.0 is an initial version, some useful basic functions will be added later

Install

npm i i-util

Usage

import _i from 'i-util';

async main()=>{
	await _i.sleep(1000);//delay 1000ms

	const obj={
		name:'tom'
	}

	await _i.deepCopy(obj);
}
main()

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @i-components/i-util

      Weekly Downloads

      0

      Version

      1.0.8

      License

      ISC

      Unpacked Size

      1.54 kB

      Total Files

      3

      Last publish

      Collaborators

      • saminn.liu