Comparing version 0.0.7 to 0.0.8
@@ -7,2 +7,3 @@ export declare class QuoteCleaner { | ||
normalizeNewLines(): QuoteCleaner; | ||
extractQuote(): QuoteCleaner; | ||
clean(): QuoteCleaner; | ||
@@ -9,0 +10,0 @@ get text(): string; |
@@ -32,7 +32,8 @@ "use strict"; | ||
} | ||
extractQuote() { | ||
this.rawText = this.removeSignature().removeEnclosingQuotationMarks().text; | ||
return this; | ||
} | ||
clean() { | ||
this.removeEnclosingQuotationMarks() | ||
.removeSignature() | ||
.normalizeNewLines() | ||
.text.trim(); | ||
this.extractQuote().normalizeNewLines().text.trim(); | ||
return this; | ||
@@ -39,0 +40,0 @@ } |
{ | ||
"name": "jcscraper", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Scrape utilities for James Clear.com 3-2-1 newsletter", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24356
278