@karappo-inc/util

0.1.0 • Public • Published

Useful codes for and by Karappo Inc.

Build Status

for Users

Features

import { hexToRgb } from '@karappo-inc/util'

hexToRgb('#000000') // 'rgb(0,0,0)'
import { isValidColor } from '@karappo-inc/util'

isValidColor('red') // true
isValidColor('#ffffff') // true
isValidColor('rgba(0,0,0,0.5)') // true
import { sleep } from '@karappo-inc/util'

console.log('start...')
await sleep(1000)
console.log('... 1 sec passed')

for Developers

Publish to npm registory

You can also publish manualy

npm login
npm publish --access public .

Readme

Keywords

Package Sidebar

Install

npm i @karappo-inc/util

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

3.7 kB

Total Files

6

Last publish

Collaborators

  • naokazuterada