Skip to content

thomassturm/echo-string

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%