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

n-gram

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n-gram - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

14

package.json
{
"name": "n-gram",
"version": "1.1.1",
"version": "1.1.2",
"description": "Get n-grams from text",

@@ -18,2 +18,6 @@ "license": "MIT",

"bugs": "https://github.com/words/n-gram/issues",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -30,9 +34,9 @@ "contributors": [

"browserify": "^16.0.0",
"nyc": "^14.0.0",
"nyc": "^15.0.0",
"prettier": "^1.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"xo": "^0.24.0"
"xo": "^0.25.0"
},

@@ -39,0 +43,0 @@ "scripts": {

@@ -8,13 +8,13 @@ # n-gram

Get [n-grams][wiki] in JavaScript.
Get [n-grams][wiki].
## Installation
## Install
[npm][]:
```bash
```sh
npm install n-gram
```
## Usage
## Use

@@ -42,3 +42,4 @@ ```js

Want padding? Use something like the following: `nGram(2)(' ' + value + ' ');`
Want padding?
Use something like the following: `nGram(2)(' ' + value + ' ');`

@@ -45,0 +46,0 @@ ### `nGram.bigram(value)`

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