This package adds some missing utilities using napi
until they are implemented natively.
0.2.0 BREAKING CHANGES
Utilities have been split
To importexec
, useimport { exec } from 'bun-utilities/spawn'
To importrmdir
, useimport { rmdir } from 'bun-utilities/fs'
To importhomedir
, useimport { homedir } from 'bun-utilities/os'
bun-utilities/spawn
-spawn
,exec
bun-utilities/fs
-rmdir
,copydir
,copyfile
bun-utilities/os
-homedir
,cachedir
,tempdir
,hostname
,platform
,arch
,release
,uptime
,totalMemory
,usedMemory
,availableMemory
,freeMemory
,totalSwap
,usedSwap
You can use this utilities with bun or node