All Projects → typicode → Steno

typicode / Steno

Licence: mit
Specialized fast async file writer

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Steno

atomically
Write files atomically and reliably.
Stars: ✭ 136 (-42.37%)
Mutual labels:  atomic, file
gologger
A concurrent, fast queue/service worker based filesystem logging system perfect for servers with concurrent connections
Stars: ✭ 16 (-93.22%)
Mutual labels:  file, safe
write-yaml
Basic node.js utility for converting JSON to YAML and writing formatting YAML files to disk.
Stars: ✭ 38 (-83.9%)
Mutual labels:  fs, file
watcher
The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.
Stars: ✭ 37 (-84.32%)
Mutual labels:  fs, file
Chonky
😸 A File Browser component for React.
Stars: ✭ 313 (+32.63%)
Mutual labels:  fs, file
Write
Write data to the file system, creating any intermediate directories if they don't already exist. Used by flat-cache and many others!
Stars: ✭ 68 (-71.19%)
Mutual labels:  fs, file
MagicaVoxel File Writer
MagicaVoxel File Writer dependency free cpp class
Stars: ✭ 26 (-88.98%)
Mutual labels:  file, writer
fs-utils
Generalized file and path utils for Node.js projects.
Stars: ✭ 33 (-86.02%)
Mutual labels:  fs, file
Naza
🍀 Go basic library. || Go语言基础库
Stars: ✭ 253 (+7.2%)
Mutual labels:  atomic, file
Filer
Node-like file system for browsers
Stars: ✭ 389 (+64.83%)
Mutual labels:  fs, file
Write Files Atomic
Write many files atomically
Stars: ✭ 126 (-46.61%)
Mutual labels:  fs, atomic
Aiofile
Real asynchronous file operations with asyncio support.
Stars: ✭ 214 (-9.32%)
Mutual labels:  file
Nonsense Series
以下为一则清单,包含信息资讯、工具推荐、使用教程、生活感悟等,旨在将你引向独立思考和客观理性。我会持续更新和维护,也可以视作本人的「废话集」和 eBooksPlan 公众号文集的备份。
Stars: ✭ 188 (-20.34%)
Mutual labels:  writer
Uploadcare Widget
Uploadcare Widget, an ultimate tool for HTML5 file upload supporting multiple file upload, drag&drop, validation by file size/file extension/MIME file type, progress bar for file uploads, image preview.
Stars: ✭ 183 (-22.46%)
Mutual labels:  file
Qbox
Qiniu Box.
Stars: ✭ 183 (-22.46%)
Mutual labels:  file
Copy Webpack Plugin
Copy files and directories with webpack
Stars: ✭ 2,679 (+1035.17%)
Mutual labels:  file
Compresshelper
🔥 压缩文件,压缩图片,压缩Bitmap,Compress, CompressImage, CompressFile, CompressBitmap:https://github.com/nanchen2251/AiYaCompressHelper
Stars: ✭ 2,362 (+900.85%)
Mutual labels:  file
Render Media
Intelligently render media files in the browser
Stars: ✭ 181 (-23.31%)
Mutual labels:  file
Cry
Cross platform PoC ransomware written in Go
Stars: ✭ 179 (-24.15%)
Mutual labels:  file
Datash
Send and Receive files directly from your browser with end-to-end encryption
Stars: ✭ 178 (-24.58%)
Mutual labels:  file

Steno Node.js CI

Specialized fast async file writer

Steno makes writing to the same file often/concurrently fast and safe.

Used in lowdb.

https://en.wikipedia.org/wiki/Stenotype

Features

  • Fast (see benchmark)
  • Lightweight (~6kb)
  • Promise-based
  • Atomic write
  • No race condition
  • TypeScript definitions

Usage

import { Writer } from 'steno'

// Create a singleton writer
const file = new Writer('file.txt')

// Use it in the rest of your code
async function save() {
  await file.write('some data')
}

Benchmark

npm run benchmark

Write 1KB data to the same file x 1000
  fs   : 68.464ms
  steno: 0.578ms

Write 1MB data to the same file x 1000
  fs   : 2.166s
  steno: 1.153ms

License

MIT - Typicode

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].