1.0.0 • Published 11 years ago
echo-string v1.0.0
echo-string
a module for echoing a value as a string
install
npm i echo-stringusage
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 testbuilds and runs the testsnpm run buildbuilds./srcto./dist/index.jsnpm run debugcompiles./srcwith sourcemaps to./dist/index.jsnpm publish .would publish./dist/index.jsto the configured npm registry
1.0.0
11 years ago