1.0.0 • Published 9 years ago

echo-string v1.0.0

Weekly downloads
2
License
Apache2
Repository
github
Last release
9 years ago

echo-string

a module for echoing a value as a string

install

npm i echo-string

usage

You can consume this module from vanilla Node:

var echo = require('echo-string')

console.log(echo('hello'))

Or any other env that supports ES5 like CoffeeScript:

echo = require 'echo'

console.log echo('hello')

Or even ES6:

import echo from 'echo-string'

console.log(echo('hello'))

contrib notes

  • npm test builds and runs the tests
  • npm run build builds ./src to ./dist/index.js
  • npm run debug compiles ./src with sourcemaps to ./dist/index.js
  • npm publish . would publish ./dist/index.js to the configured npm registry