DataGuise is a simple data formatter for Node.js, version 0.0.2, used primarily for formatting numbers and text with custom mask patterns. It provides a single compile function that returns a formatter. The package is minimal, with no active development since 2015, and is suitable for basic masking tasks like currency formatting. It differentiates itself by its simplicity and use of reverse masking for values like decimals.
npm install dataguiseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Formats a number as currency with dot thousands separator and comma decimal.
Wrap numeric input with String() as shown in quickstart.
Consider alternatives like numbro or accounting for maintained solutions.
Set reverse: true for standard input to output direction.
Use const { compile } = require('dataguise'); then compile(mask, options)Convert number to string: toCurrency(String(value))
No dependency data recorded yet.