Displaying 1 to 11 from 11 results

sprintf.js - sprintf.js is a complete open source JavaScript sprintf implementation

  •    Javascript

sprintf-js is a complete open source JavaScript sprintf implementation for the browser and Node.js. Note: as of v1.1.1 you might need some polyfills for older environments. See Support section below.

voca - The ultimate JavaScript string library

  •    Javascript

The Voca library offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugify, latinise, sprintf'y, truncate, escape and much more. The modular design allows to load the entire library, or individual functions to minimize the application builds. The library is fully tested, well documented and long-term supported. Voca can be used in various environments.

fault - Functional errors with formatted output

  •    Javascript

Functional errors with formatted output.Create an error with a printf-like formatted message.




printf - Tiny, fast, non-dependent and fully loaded printf implementation for embedded systems

  •    C

This is a tiny but fully loaded printf, sprintf and (v)snprintf implementation. Primarily designed for usage in embedded systems, where printf is not available due to memory issues or in avoidance of linking against libc. Using the standard libc printf may pull a lot of unwanted library stuff and can bloat code size about 20k or is not 100% thread safe. In this cases the following implementation can be used. Absolutely NO dependencies are required, printf.c brings all necessary routines, even its own fast ftoa (float), ntoa (decimal) conversion. If memory footprint is really a critical issue, floating point and 'long long' support and can be turned off via the PRINTF_SUPPORT_FLOAT and PRINTF_SUPPORT_LONG_LONG compiler switches. When using printf (instead of sprintf/snprintf) you have to provide your own _putchar() low level function as console/serial output.

dart-sprintf - Dart implementation of sprintf

  •    Dart

Dart implementation of sprintf.

format4js - Java's String.format() compatible string formatting library for JavaScript.

  •    Javascript

Java's String.format() compatible string formatting library for JavaScript. Download files and add following into HTML.

node-printf - Write formatted data (complete implementation of printf and sprintf) in Node.js

  •    Javascript

A complete implementation of the printf C functions family for Node.JS, written in pure JavaScript. Bonus! You get extra features, like the %O converter (which inspects the argument). See Extra Features below.


python-format - str.format() from Python in JavaScript

  •    Javascript

python-format is implementation of Python's str.format. It works both in browser and in Node.js. If you want to use this in Node.js, just use npm install python-format in console. If you want to use this in browser, download python-format.js, and if you want, pass it using your favorite JavaScript minifizer (I prefer UglifyJS, but you can use other minifizers).

react-interpolate-component - A component for React that renders elements into a format string containing replacement fields

  •    Javascript

A component for React that renders elements into a format string containing replacement fields. It comes in handy when working with dynamic text elements like localized strings of a translation library. The Interpolate component expects as only child a format string containing the placeholders to be interpolated. Like the format syntax of sprintf with named arguments, a placeholder is depicted as '%(' + placeholder_name + ')s'.