Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/foresthoffman/bfs

A JS package for the asynchronous reading and requiring of JavaScript modules without touching the host file system.
https://github.com/foresthoffman/bfs

buffers javascript nodejs npm-package tar typescript

Last synced: 19 days ago
JSON representation

A JS package for the asynchronous reading and requiring of JavaScript modules without touching the host file system.

Awesome Lists containing this project

README

        

# 📜 Buffered File System (BFS) 📜

[![Node 10.x](https://github.com/foresthoffman/bfs/actions/workflows/node-10.x.js.yml/badge.svg)](https://github.com/foresthoffman/bfs/actions/workflows/node-10.x.js.yml) [![Node 12.x](https://github.com/foresthoffman/bfs/actions/workflows/node-12.x.js.yml/badge.svg)](https://github.com/foresthoffman/bfs/actions/workflows/node-12.x.js.yml) [![Node 14.x](https://github.com/foresthoffman/bfs/actions/workflows/node-14.x.js.yml/badge.svg)](https://github.com/foresthoffman/bfs/actions/workflows/node-14.x.js.yml)

This module uses buffers (or Tar streams) to load file systems (FS) into memory. From an FS, files can be read and modules can be required recursively, without touching the host file system.

## NPM

```bash
npm i @foresthoffman/bfs
```

## Yarn

```bash
yarn add @foresthoffman/bfs
```

## Testing

```
yarn test
```