Comparing version 1.0.2 to 1.0.3
@@ -36,4 +36,2 @@ 'use strict' | ||
console.log('inside Punc Module') | ||
return new Promise((resolve, reject) => { | ||
@@ -46,5 +44,3 @@ ReadFile(filePath, options.encoding) | ||
.pipe(Through2.obj(function(chunk, _, callback) { | ||
for (let i = 0; i < chunk.length; i++) { | ||
if ( chunk[i] in punctuationsSeen ) { | ||
@@ -57,5 +53,2 @@ punctuationsSeen[ chunk[i] ]++ | ||
})) | ||
.on('data', data => { | ||
}) | ||
.on('end', _ => { | ||
@@ -62,0 +55,0 @@ resolve({ |
{ | ||
"name": "punc", | ||
"version": "1.0.2", | ||
"description": "", | ||
"version": "1.0.3", | ||
"description": "Ever wonder what your favorite books look like without words?", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
# Punc | ||
Read a file, remove the words, see all the punctuations | ||
![image](https://cloud.githubusercontent.com/assets/3915598/13369726/783be3d0-dc9c-11e5-846a-5f1ec6517966.png) | ||
@@ -21,3 +23,3 @@ | ||
### Inspiration | ||
## Inspiration | ||
*inspired by [this article][1] on medium which was in-turn inspired by [this article][2]* | ||
@@ -24,0 +26,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148273
38
65