Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yosay

Package Overview
Dependencies
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yosay - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

20

cli.js
#!/usr/bin/env node
'use strict';
var yosay = require('./index.js');
var pkg = require('./package.json');
var yosay = require('./');

@@ -11,19 +10,18 @@ require('taketalk')({

},
help: function () {
console.log([
pkg.description,
'',
'Usage',
' $ yosay <string>',
' $ yosay <string> --maxLength 8',
' $ echo <string> | yosay',
' ' + pkg.description,
'',
'Example',
' $ yosay "Sindre is a horse"',
' Usage',
' yosay <string>',
' yosay <string> --maxLength 8',
' echo <string> | yosay',
'',
' Example',
' yosay "Sindre is a horse"',
yosay('Sindre is a horse')
].join('\n'));
},
version: pkg.version
});
'use strict';
var chalk = require('chalk');

@@ -46,3 +45,2 @@ var pad = require('pad-component');

var frame;
var unstyledMessage;
var styledIndexes = {};

@@ -49,0 +47,0 @@ var completedString = '';

{
"name": "yosay",
"version": "0.3.0",
"version": "1.0.0",
"description": "Tell Yeoman what to say",

@@ -11,3 +11,7 @@ "license": "BSD",

"yo",
"cowsay"
"cowsay",
"say",
"box",
"message",
"ansi"
],

@@ -31,11 +35,11 @@ "homepage": "http://yeoman.io",

"dependencies": {
"ansi-regex": "^0.2.1",
"ansi-regex": "^1.0.0",
"ansi-styles": "^1.1.0",
"chalk": "^0.4.0",
"minimist": "^0.2.0",
"chalk": "^0.5.1",
"minimist": "^1.1.0",
"pad-component": "0.0.1",
"string-length": "^0.1.2",
"strip-ansi": "^0.2.1",
"taketalk": "^0.1.0",
"word-wrap": "^0.1.2"
"string-length": "^1.0.0",
"strip-ansi": "^2.0.0",
"taketalk": "^0.1.1",
"word-wrap": "^0.1.3"
},

@@ -42,0 +46,0 @@ "devDependencies": {

@@ -44,11 +44,14 @@ # yosay [![Build Status](https://travis-ci.org/yeoman/yosay.svg?branch=master)](https://travis-ci.org/yeoman/yosay)

$ npm install --global yosay
```
```
$ yosay --help
Usage
$ yosay <string>
$ yosay <string> --maxLength 8
$ echo <string> | yosay
Usage
yosay <string>
yosay <string> --maxLength 8
echo <string> | yosay
Example
$ yosay 'Sindre is a horse'
Example
yosay 'Sindre is a horse'

@@ -68,3 +71,4 @@ _-----_

## License
[BSD license](http://opensource.org/licenses/bsd-license.php)
Copyright (c) Google
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc