Displaying 1 to 20 from 22 results

hasha - Hashing made simple. Get the hash of a buffer/string/stream/file.

  •    Javascript

Hashing made simple. Get the hash of a buffer/string/stream/file.Convenience wrapper around the core crypto Hash class with simpler API and better defaults.

jDataView - DataView. Extended. Anywhere.

  •    Javascript

jDataView provides convenient way to read and/or modify binary data in all the browsers. It follows the DataView Specification and even extends it for a more practical use. There are three ways to read a binary file from the browser.

jBinary - High-level API for working with binary data.

  •    Javascript

jBinary makes it easy to create, load, parse, modify and save complex binary files and data structures in both browser and Node.js. It works on top of jDataView (DataView polyfill with convenient extensions).




read-chunk - Read a chunk from a file

  •    Javascript

Because the built-in way requires way too much boilerplate.Returns a Promise<Buffer>.

rev-hash - Create a hash for file revving

  •    Javascript

It will create an md5 hash from an input buffer or string, and truncate it to 10 characters, which is unique enough for this purpose.If you think you need a different hash algorithm or a longer hash, you're wrong.

render-media - Intelligently render media files in the browser

  •    Javascript

Show the file in a the browser by appending it to the DOM. This is a powerful package that handles many file types like video (.mp4, .webm, .m4v, etc.), audio (.m4a, .mp3, .wav, etc.), images (.jpg, .gif, .png, etc.), and other file formats (.pdf, .md, .txt, etc.).The file will be streamed into the page (if it's video or audio). Seeking the media element will request a different byte range from the incoming file-like object.


is-progressive - Check if JPEG images are progressive

  •    Javascript

The check is fast as it only reads a small part of the file.Prefer the file methods if you're dealing directly with files. Those methods are optimized to read in the least amount of bytes necessary to determine whether it's a progressive JPEG image.

buffet - Performance-oriented static file server

  •    Javascript

Type make bench in the buffet directory (you'll need siege installed). Brought to you by benchmarx.

write - Write data to the file system, creating any intermediate directories if they don't already exist

  •    Javascript

Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods. Asynchronously writes data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Data can be a string or a buffer. Returns a promise if a callback function is not passed.

read-file-stdin - Read from a file, falling back to stdin.

  •    Javascript

Read from a file, falling back to stdin. Read from a file, falling back to stdin, and callback(err, buffer).

gulp-file - Create vinyl files from a string or buffer and insert into the Gulp pipeline.

  •    Javascript

Create vinyl files from a string or buffer and insert into the Gulp pipeline. Creates a vinyl file with the given name from source string or buffer and returns a transform stream for use in your gulp pipeline.