🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

tiny-fs-native

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-fs-native

Native fs for Javascript

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

tiny-fs-native

Native fs for Javascript

npm install tiny-fs-native

Useful for embedded devices that only have n-api but not node.

Usage

const fs = require('tiny-fs-native')

// currently supports

fs.open
fs.close
fs.unlink
fs.read
fs.readv
fs.write
fs.writev
fs.ftruncate
fs.stat
fs.fstat
fs.lstat
fs.mkdir
fs.rmdir
fs.rename

fs.readFile
fs.writeFile

fs.promises.readFile
fs.promises.writeFile
fs.promises.mkdir
fs.promises.rmdir
fs.promises.stat
fs.promises.unlink

fs.createReadStream
fs.createWriteStream

fs.writeFileSync
fs.readFileSync
fs.openSync
fs.readSync
fs.writeSync
fs.statSync
fs.lstatSync
fs.fstatSync
fs.closeSync

License

MIT

FAQs

Package last updated on 28 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts