0.0.5 • Published 3 years ago
@iuser/read v0.0.5
@iuser/read
create directory recursive then read file
安装
推荐用 @antfu/ni
ni -D @iuser/read
使用
#!/usr/bin/env coffee
> @iuser/read
path > join dirname
{pathname} = new URL(import.meta.url)
dir = dirname pathname
await read join(dir,'1/2/3.log'), 'test'
0.0.5
3 years ago