Crunch, NodeRT

2014-05-30 00:00:00 +0100 by Alex R. Young


Crunch (GitHub: vukicevic / crunch, License: MIT) by Nenad Vukicevic is an arbitrary-precision integer arithmetic library, with a focus on speed. It has no dependencies, and the project includes examples for finding prime-numbers, generating keys for RSA, encryption, and decryption.

The examples also demonstrate using WebWorkers with the library, so you could farm out mathematical operations to multiple workers. Crunch includes unit tests and documentation in the readme file.


NodeRT is a WinRT module generator for Node:

NodeRT automatically exposes Microsoft's WinRT APIs to Node.js by generating Node modules. This enables Node developers to write code that consumes native Windows capabilities. The generated APIs are (almost) the same as the WinRT APIs listed in MSDN.

This is an example of windows.devices.geolocation:

var geolocation = require('windows.devices.geolocation');
var locator = new geolocation.Geolocator();

locator.getGeopositionAsync(function(err, res) {
  if (err) {

  console.info('(', res.coordinate.longitude, ',',  res.coordinate.latitude, ')');

The project has fairly detailed documentation in the readme, including the requirements which includes VisualStudio 2013.