Sha256: 2c5079c4194e7c8f377a6392b758593bc2926cb51634b9b163d19f3932d3c30e

Contents?: true

Size: 461 Bytes

Versions: 7

Compression:

Stored size: 461 Bytes

Contents

var common = require('./common');

//@
//@ ### echo(string [,string ...])
//@
//@ Examples:
//@
//@ ```javascript
//@ echo('hello world');
//@ var str = echo('hello world');
//@ ```
//@
//@ Prints string to stdout, and returns string with additional utility methods
//@ like `.to()`.
function _echo() {
  var messages = [].slice.call(arguments, 0);
  console.log.apply(this, messages);
  return common.ShellString(messages.join(' '));
}
module.exports = _echo;

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/shelljs/src/echo.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/shelljs/src/echo.js
exercism-analysis-0.1.1 vendor/javascript/node_modules/jshint/node_modules/shelljs/src/echo.js
eslint_node_modules-1.6.0.1 vendor/node_modules/eslint/node_modules/shelljs/src/echo.js
eslint_node_modules-1.6.0 vendor/node_modules/eslint/node_modules/shelljs/src/echo.js
trans-0.5.10 template/node_modules/shelljs/src/echo.js
trans-0.5.9 template/node_modules/shelljs/src/echo.js