email-stripper
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -9,3 +9,3 @@ /* | ||
'use strict'; | ||
'use strict' | ||
@@ -26,3 +26,5 @@ var stripper = require('stream').Transform( { objectMode: true } ) | ||
stripper.clean = function(s){ | ||
s += (s.substr(s.length-1) == '.') ? '' : '. ' | ||
s += (s.substr(s.length-1) == '.') | ||
? '' | ||
: '. ' | ||
if(s.indexOf('@') == -1) this.push(s) | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "email-stripper", | ||
"description": "A tool to find and remove email addresses from a set of text.", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/jordancalder/email-stripper", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var strip = require('../lib/email-stripper.js') |
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
5345
82