2.0.0 • Published 8 years ago

transpilation v2.0.0

Weekly downloads
7
License
ISC
Repository
github
Last release
8 years ago

Transpilation

Build Status Coverage Status

Install

npm install transpilation --save

Development

  • run gulp to watch and build changes

  • npm test to run the unit tests

  • gulp coverage to run the unit tests & get the code coverage

Functions

  • execute-javascript-sync :: JavascriptCode::String -> Context::object -> [Error, result]

  • compile-and-execute-babel-sync :: BabelCode::String -> Context::object -> [Error, result]

  • compile-and-execute-livescript-sync :: LivescriptCode::String -> Context::object -> [Error, result]

  • compile-and-execute-sync :: Code::String, Language::String, Context::object -> [Error, result]

  • from-error-value-tuple :: Promise p => (... -> [Error, a]) -> (... -> p a)

    converts a function that returns Error, a into a function that returns a Promise a

  • execute-javascript :: JavascriptCode::String, Context::object -> p result

  • compile-and-execute-babel :: BabelCode::String, Context::object -> p result

  • compile-and-execute-livescript :: LivescriptCode::String, Context::object -> p result

  • compile-and-execute :: Code::String, Language::String, Context::object -> p result

2.0.0

8 years ago

1.0.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago