GithubHelp home page GithubHelp logo

endeavour5 / functional-programming-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luijar/functional-programming-js

0.0 2.0 0.0 779 KB

Code Samples Functional Programming in JavaScript, Manning 2016

JavaScript 94.09% HTML 5.65% PHP 0.26%

functional-programming-js's Introduction

#Functional JavaScript Programming

By Luis Atencio

##Update Code has been changed and fixed for Errata purposes, GitHub issues, and ES6 updates. The old code now lives under the legacy.

Since this code uses ES6 artifacts, any code meant to run on the browser must be transpiled with either:

  • Babel
  • Traceur

For Node.js users. This code requires:

node --version > 6.3.1

Please begin the project with

npm install

To load all of the required functional libraries.

In this repo you will find:

  • All code samples (as runnable unit tests) of code used in chapters
  • JS targeted for browser
  • Functional data types like Optional, Either, Maybe, etc
  • Access to some JavaScript functional libraries like lodash.js, streams.js, bacon.js, etc.

##Some of the libraries you will find in this book are (you can run "npm install" to obtain these)

###QUnit npm install qunit

###Ramda npm install ramda

###Lodash npm install lodash

###RxJS npm install rxjs

##Running the tests Once QUnit is installed. You can run each test file with:

$> node <path-to-qunit-cli.js> -t <chapter-num>/tests.js -c <chapter-num>/tests.js

You can find "path-to-qunit-cli.js" in node_modules/qunit/bin/cli.js and "chapter-num" will be any of ch01...ch08

functional-programming-js's People

Contributors

luijar avatar npmcdn-to-unpkg-bot 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.