bun-utilities
v0.2.1
Published
Bindings for useful functions for bun
Downloads
3,709
Readme
bun-utilities
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'
Current utilities
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