@u7/write

0.0.9 • Public • Published

@u7/write

create directory recursive then write file

安装

推荐用 @antfu/ni

ni -D @u7/write

使用

→ test/index.coffee

#!/usr/bin/env coffee

> @u7/write
  path > join dirname

{pathname} = new URL(import.meta.url)

dir = dirname pathname

write join(dir,'1/2/3.log'), 'test'

Readme

Keywords

none

Package Sidebar

Install

npm i @u7/write

Weekly Downloads

1

Version

0.0.9

License

Apache-2.0

Unpacked Size

1.15 kB

Total Files

4

Last publish

Collaborators

  • i-user