New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

retext-english

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retext-english - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

12

index.js

@@ -1,11 +0,11 @@

'use strict';
'use strict'
var unherit = require('unherit');
var English = require('parse-english');
var unherit = require('unherit')
var English = require('parse-english')
module.exports = parse;
parse.Parser = English;
module.exports = parse
parse.Parser = English
function parse() {
this.Parser = unherit(English);
this.Parser = unherit(English)
}
{
"name": "retext-english",
"version": "3.0.0",
"version": "3.0.1",
"description": "retext parser for the English language",

@@ -16,12 +16,9 @@ "license": "MIT",

],
"homepage": "https://github.com/wooorm/retext",
"repository": "https://github.com/wooorm/retext/tree/master/packages/retext-english",
"bugs": "https://github.com/wooorm/retext/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"homepage": "https://github.com/retextjs/retext",
"repository": "https://github.com/retextjs/retext/tree/master/packages/retext-english",
"bugs": "https://github.com/retextjs/retext/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"engines": {
"node": ">=0.11.0"
},
"files": [

@@ -28,0 +25,0 @@ "index.js"

@@ -1,5 +0,5 @@

# retext-english [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat]
# retext-english [![Build][build-badge]][build] [![Coverage][coverage-badge]][coverage] [![Downloads][downloads-badge]][downloads] [![Size][size-badge]][size] [![Chat][chat-badge]][chat]
[Parser][] for [**unified**][unified]. Parses the English language to
an [**NLCST**][nlcst] syntax tree.
[Parser][] for [**unified**][unified].
Parses the English language to a syntax tree ([**nlcst**][nlcst]).

@@ -17,13 +17,14 @@ ## Installation

```js
var unified = require('unified');
var english = require('retext-english');
var stringify = require('retext-stringify');
var emoji = require('retext-emoji');
var unified = require('unified')
var stream = require('unified-stream')
var english = require('retext-english')
var stringify = require('retext-stringify')
var emoji = require('retext-emoji')
process.stdin
.pipe(unified())
var processor = unified()
.use(english)
.use(emoji, {convert: 'encode'})
.use(stringify)
.pipe(process.stdout);
process.stdin.pipe(stream(processor)).pipe(process.stdout)
```

@@ -48,3 +49,3 @@

Access to the [parser][] ([`wooorm/parse-english`][parse-english]).
Access to the [parser][] ([`parse-english`][parse-english]).

@@ -57,26 +58,34 @@ ## License

[build-badge]: https://img.shields.io/travis/wooorm/retext.svg
[build-badge]: https://img.shields.io/travis/retextjs/retext/master.svg
[build-status]: https://travis-ci.org/wooorm/retext
[build]: https://travis-ci.org/retextjs/retext
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/retext.svg
[coverage-badge]: https://img.shields.io/codecov/c/github/retextjs/retext.svg
[coverage-status]: https://codecov.io/github/wooorm/retext
[coverage]: https://codecov.io/github/retextjs/retext
[chat-badge]: https://img.shields.io/gitter/room/wooorm/retext.svg
[downloads-badge]: https://img.shields.io/npm/dm/retext-english.svg
[chat]: https://gitter.im/wooorm/retext
[downloads]: https://www.npmjs.com/package/retext-english
[license]: https://github.com/wooorm/retext/blob/master/LICENSE
[size-badge]: https://img.shields.io/bundlephobia/minzip/retext-english.svg
[author]: http://wooorm.com
[size]: https://bundlephobia.com/result?p=retext-english
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
[chat]: https://spectrum.chat/unified/retext
[license]: https://github.com/retextjs/retext/blob/master/license
[author]: https://wooorm.com
[npm]: https://docs.npmjs.com/cli/install
[unified]: https://github.com/wooorm/unified
[unified]: https://github.com/unifiedjs/unified
[nlcst]: https://github.com/wooorm/nlcst
[nlcst]: https://github.com/syntax-tree/nlcst
[parser]: https://github.com/wooorm/unified#processorparser
[parser]: https://github.com/unifiedjs/unified#processorparser
[parse-english]: https://github.com/wooorm/parse-english
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