Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including formulajs with all npm packages installed. Try it out:

var formulajs = require("formulajs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

formulajs v1.0.8

JavaScript implementation of most Microsoft Excel formula functions

formula.js

Build Status

JavaScript implementation of most Microsoft Excel formula functions

USAGE

Formulas depends on the following Open source Javascript libraries: Numeric, NumeralJs and jStats.

Include them as follow to use formula.js in your browser:

<!-- Numeric -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/numeric/1.2.6/numeric.min.js"></script>
<!-- Numeral.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/numeral.js/1.4.5/numeral.min.js"></script>
<!-- jStat -->
<script src="https://cdn.jsdelivr.net/jstat/latest/jstat.min.js"></script>

<!-- Finally add formula.js -->
<script src="local-formula-path/formula.js"></script>

LICENSE

formula.js is freely distributable under the terms of the MIT license. Copyright (c) 2014 Sutoiku, Inc.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free