@themartiancompany/opfs
v2.0.11
Published
Browser-compatible (OPFS) Node/Deno 'fs' module.
Maintainers
Readme
OPFS Module (@themartiancompany/opfs)
Browser-compatible fs module obtained combining the
Happy OPFS
and the
OPFS Tools
modules.
OPFS stands for origin private file system and it is a file system API for manipulating local files in a browser environment.
Installation
To install a locally built version of the library run
$ make \
allAn opfs-<version>.tgz npm archive will be generated
in the root of the repository.
To install the library system-wide run
# make \
install-npmTo install it as a DogeOS system package from the Ur uncensorable user repository and application store run
ur \
"nodejs-opfs"A mirror of the Ur universal recipe
has been made available on The Martian
Company's Github at
nodejs-opfs-ur.
To download the library from the NPM Registry run
npm \
install \
--save \
"@themartiancompany/opfs"Documentation
For API documentation refer to the Happy OPFS, OPFS Tools and File System API.
Javascript
If you are looking for an example of how to write a full computer application composed of only Bash programs and Node modules but which runs the same and with zero modifications regardless of whether it has available for display a terminal or a browser window, you can look at the Ahsi program, written using the Crash Javascript and Crash Bash libraries.
Refer to the Ahsi repository for more information about installing and running it.
License
This software repository is released under the terms of the GNU Affero General Public License version 3.
