machine

v15.2.3
Build functions in standardized containers.
functions containers validation coercion type-checking data-types

sandbox

node -i -e '_ = require("@sailshq/lodash"); global[require("./package.json").name] = require("./"); console.log("\n\n\n\n--");'

test

npm run lint && npm run custom-tests && npm run bench

custom-tests

echo 'Skipping tests that still need updating...' #node ./node_modules/mocha/bin/mocha -R dot test/*.test.js

lint

eslint . --max-warnings=0 --ignore-pattern 'test/' && echo '✔ Your code looks good.'

bench

NODE_ENV=production node ./node_modules/mocha/bin/mocha -R dot --recursive -b test/benchmarks/
npm i machine

Metadata

  • MIT
  • >= 4.0.0
  • The Sails Company
  • released 6/23/2023

Downloads