Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

word-stream

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

word-stream - npm Package Compare versions

Comparing version
0.1.1
to
0.1.2
+2
-1
cli.js
#!/usr/bin/env node
'use strict';
var fs = require('fs');
var wordListPath = require('word-list');

@@ -17,3 +18,3 @@ if (process.argv.indexOf('-h') !== -1 || process.argv.indexOf('--help') !== -1) {

fs.createReadStream(__dirname + '/words.txt').pipe(process.stdout)
fs.createReadStream(wordListPath).pipe(process.stdout)
.on('error', process.stderr.write.bind(process.stderr));
'use strict';
var fs = require('fs');
var split = require('split');
var wordListPath = require('word-list');
module.exports = fs.createReadStream(__dirname + '/words.txt').pipe(split());
module.exports = fs.createReadStream(wordListPath).pipe(split());
{
"name": "word-stream",
"version": "0.1.1",
"version": "0.1.2",
"description": "Returns a stream of English words",

@@ -19,4 +19,2 @@ "license": "MIT",

"scripts": {
"prepublish": "node fetch-words.js",
"pretest": "node fetch-words.js",
"test": "mocha"

@@ -26,4 +24,3 @@ },

"index.js",
"cli.js",
"words.txt"
"cli.js"
],

@@ -35,6 +32,12 @@ "keywords": [

"list",
"stream"
"stream",
"en",
"english",
"dict",
"dictionary",
"cli"
],
"dependencies": {
"split": "~0.3.0"
"split": "~0.3.0",
"word-list": "~0.1.0"
},

@@ -41,0 +44,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display