Displaying 1 to 20 from 45 results

audiobuffer-to-wav - convert an AudioBuffer to .wav format

  •    Javascript

Encodes the contents of an AudioBuffer from the WebAudio API as WAVE. Supports 16-bit PCM and 32-bit float data.The code for this has been adapted from the export feature of Recorder.js.

jam3-lesson-module-creation - introduction to creating a new npm module

  •    Javascript

This is a continuation of the module basics lesson. Here we'll learn to write a new module, work with Node's CommonJS syntax, and publish the code to npm.Once you're comfortable with the process, splitting code into its own module becomes trivial. The benefits of reusability and semantic versioning often outweigh the small upfront cost of creating a new module.

layout-bmfont-text - word-wraps and lays out text glyphs

  •    Javascript

Provides layout and word-wrapping for left-to-right Latin text, primarily aimed at bitmap font rendering in Canvas/WebGL. The input font should be in the format of BMFont json, see here.You can use bmfont-lato for testing, or load-bmfont for Node/Browser loading.




preview-dds - preview and save DDS textures from the command line

  •    Javascript

Preview and convert DDS files from the command line (compressed textures and HDR cubemaps).This only supports a limited range of DDS formats, see here.

svg-to-image - convert SVG text to a Image that can be drawn in canvas

  •    Javascript

Converts a string of SVG into an HTMLImageElement using Blob and URL.createObjectURL. Falls back to encodeURIComponent for unsupported browsers, such as Safari 8.0.A common use case for this is rendering SVG to a 2D or WebGL canvas.

obsify - Observableify a callback-style function

  •    Javascript

Callback-style function or module whose methods you want to observableify.Methods in a module to observableify. Remaining methods will be left untouched.

ensure-error - Ensures a value is a valid error by making it one if not

  •    Javascript

Pass it any value and you're are guaranteed to get back an Error with name, message, and stack properties.Can be useful when you don't control all the places an error can be thrown or rejected. A user could for example throw a string or an error without a stack property.


to-arraybuffer - Get an ArrayBuffer from a Buffer as fast as possible

  •    Javascript

Convert from a Buffer to an ArrayBuffer as fast as possible. Note that in some cases the returned ArrayBuffer is backed by the same memory as the original Buffer (but in other cases it is a copy), so modifying the ArrayBuffer is not recommended.

node-tts-api - Simple API to get TTS

  •    CoffeeScript

This is a simple module to access tts-api.com. Enjoy the usage. You can email me at yamil.asusta@upr.edu for any bugs.

liquid-to-handlebars - Convert liquid templates to handlebars templates!

  •    HTML

Convert liquid templates to handlebars templates. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

to-regex - Generate a regex from a string or array of strings.

  •    Javascript

Generate a regex from a string or array of strings. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

mespeak - NPM entry for mespeak for easier installation and usage in browserify

  •    Javascript

Says a string. Note: The value of 'rawdata' must evaluate to boolean 'true' in order to be recognized.

toStyle - Converts style objects to strings

  •    Javascript

Converts style objects to strings. Can be used on node or in the browser. In browser, make sure you add dist/toStyle.js to your page. This exposes a global toStyle variable.

Transcriber - NWJS os x desktop based application that given a video/audio file returns a transcription using IBM Watson Speech to text API

  •    HTML

This app was an initial prototype to test the quality of IBM STT, and is no longer activly supported I am now working on a more full fledge version at https://github.com/OpenNewsLabs/autoEdit_2 ( http://www.autoedit.io ). If you clone the repo you can start the app with npm start.

CanvasImage - Converts image to canvas with same look

  •    Javascript

Converts image to canvas with same look. Useful for memory optimization in case of responsive images usage. Also is good for solving Android antialiasing issue in PhoneGap or web applications.

phase-2-e - End to End testing framework for Phaser. Backed by Nightwatch and Selenium.

  •    Javascript

Custom Nightwatch extenstion for end to end testing CANVAS based HTML5 games written with Phaser. Backed by Nightwatch and Selenium. Until now, e2e tests have mostly been the domain of RIA developers, websites and enterprise level applications, Absolutely no one is e2e testing Canvas based HTML5 games, beyond some rudimentary screenshot checking. Phase-2-e aims to change this state of affairs.