findFilms/node_modules/bare-fs
2025-10-05 22:20:49 +03:00
..
lib Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
prebuilds Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
binding.c Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
binding.js Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
CMakeLists.txt Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
index.d.ts Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
index.js Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
LICENSE Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
package.json Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
promises.d.ts Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
promises.js Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00
README.md Initial commit: Torrent search and download application 2025-10-05 22:20:49 +03:00

bare-fs

Native file system operations for Javascript.

npm i bare-fs

Usage

const fs = require('bare-fs')

const fd = await fs.open('hello.txt')

const buffer = Buffer.alloc(1024)

try {
  const length = await fs.read(fd, buffer)

  console.log('Read', length, 'bytes')
} finally {
  await fs.close(fd)
}

License

Apache-2.0