[go: nahoru, domu]

Skip to content

A modern filesystem API for JavaScript

Notifications You must be signed in to change notification settings

frankie303/fsx

 
 

Repository files navigation

fsx: A modern filesystem API for JavaScript

by Nicholas C. Zakas

If you find this useful, please consider supporting my work with a donation or nominate me for a GitHub Star.

Description

This is the monorepo for fsx, a modern filesystem API for JavaScript. Most of the filesystem APIs provided by JavaScript runtimes were designed to emulate Linux utilities which, while making them easy to adopt and understand, often requires writing way more code than necessary for common tasks. fsx is a new approach that streamlines the most common operations while providing useful ways to test the expected functionality.

Dev Environment Setup

Prerequisites

You must have the following installed:

  1. Node.js
  2. Deno

Then follow these steps:

  1. Fork the repository
  2. Clone your fork
  3. Run npm install to set up dependencies

Note

It's recommended to use the Visual Studio Code Deno extension for the best developer experience. When you first open the project in Visual Studio Code, you'll be prompted to install this extension.

Testing

To test everything:

npm test

To test just one workspace

npm test -w packages/node

Linting

To lint everything:

npm run lint

To lint and fix everything:

npm run lint:fix

Formatting

To format all files:

npm run fmt

License

Apache 2.0

About

A modern filesystem API for JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 96.3%
  • TypeScript 3.7%