pvtsutils
pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
Parses JavaScript objects into XML. This is a fork of the original js2xmlparser, with some additional features
Convert a Blob to a Buffer
parse string escapes (\n, \r, etc.)
Decorators for ASN.1 schemas building
This package uses ES2015 decorators to simplify JSON schema creation and use
Convert promise to callback interface
Transform web logs (common log format) to JSON
Extensibly serialize & deserialize Draft.js ContentState
Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`
Convert matching single-quotes to double-quotes: I 'love' unicorns → I "love" unicorns
Parse a XML string into a proprietary syntax tree
Merge multiple images into a single image
Convert between quantities in different units
CSV parsing implementing the Node.js `stream.Transform` API
Normalize the newline characters in a string to `\n`
Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS
simple HSL to RGB converter
Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.
Convert to/from strings and array of bytes