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

punc

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

punc - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

index.js

@@ -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({

4

package.json
{
"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 @@

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