fsxx
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i fsxx

Weekly Downloads

13

Version

0.1.0

License

MIT

Unpacked Size

7.82 kB

Total Files

5

Last publish

Collaborators

  • antfu