Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

supreme

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supreme

Supreme File System: A hand tuned fs library specially written for BigPipe's assets compiler

latest
Source
npmnpm
Version
0.0.0
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

supreme

The build-in fs module of node is not optimized for high concurrency. The sfs file system that we've developed is build against the native bindings of the module and all API calls have been tweaked for our specific use case. But the file system can still be a limiting factor. Some people prefer to store data in their database system or dedicated file storage systems to ensure the best of both worlds our internal file system can work with almost every API.

Installation

This module is intended for Node.js as it makes use of the various of binding API that are exposed internally.

npm install --save sfs

Usage

The API that we expose is exactly the same as the Node.js API. Some methods will just be faster for concurrent access patterns. If the methods are not optimized or rewritten by this module we will expose the default fs version for those API's so we can ensure that we're always in API parity with Node.js.

The following methods are currently optimized:

  • exists
  • existsSync

License

MIT

Keywords

supreme

FAQs

Package last updated on 02 Feb 2015

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