0.1.0 • Published 2 years ago

fsxx v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

fsxx

NPM version

File system in zx style.

import { cd, io, read } from 'fsxx'

console.log(await read`README.md`)

const { name } = await read.json`package.json`

cd('packages')
const { data, save } = await io.json`./core/package.json`
data.version = '0.1.1'
await save()

const isMIT = read.sync`LICENSE`.includes('MIT')

EXPERIMENTAL: APIs are very likely to be overhauled in the future.

Sponsors

License

MIT License © 2021 Anthony Fu