echo-string

1.0.0 • Public • Published

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

/echo-string/

    Package Sidebar

    Install

    npm i echo-string

    Weekly Downloads

    1

    Version

    1.0.0

    License

    Apache2

    Last publish

    Collaborators

    • brianleroux