Coder Social home page Coder Social logo

math-js's Introduction

Math JS

MathJax & Node. Yes please. MathJax Node is available here.

Installing

npm install etc...
npm start # boot the server

then try hitting up this url in your browser:

http://0.0.0.0:4000/math?math=++1+%2B++%5Cfrac%7Bq%5E2%7D%7B%281-q%29%7D%2B%5Cfrac%7Bq%5E6%7D%7B%281-q%29%281-q%5E2%29%7D%2B%5Ccdots+%3D+%5Cprod_%7Bj%3D0%7D%5E%7B%5Cinfty%7D%5Cfrac%7B1%7D%7B%281-q%5E%7B5j%2B2%7D%29%281-q%5E%7B5j%2B3%7D%29%7D

...and you should see something like this:

screen shot 2014-06-15 at 09 58 21

If the install fails

You might have trouble installing this on OS X Mavericks with a failure todo with node-gyp. If this affects you then do the following:

# Find out what path xcodebuild is at (which xcodebuild)
sudo mv /usr/bin/xcodebuild /usr/bin/xcodebuild.old

# Make a new file at /usr/bin/xcodebuild with the following contents:

#!/bin/bash

exit 0

# Now try npm install again...

Is it green?

Hopefully/probably? You can keep an eye on Travis stuff here:

Build Status

math-js's People

Contributors

arfon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.