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

n-gram

Package Overview
Dependencies
Maintainers
1
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.0.0 to 1.0.1

7

index.js
'use strict';
/* Expose. */
module.exports = exports = nGram;
module.exports = nGram;
exports.bigram = nGram(2);
exports.trigram = nGram(3);
nGram.bigram = nGram(2);
nGram.trigram = nGram(3);

@@ -9,0 +8,0 @@ /* Factory returning a function that converts a given string

{
"name": "n-gram",
"version": "1.0.0",
"version": "1.0.1",
"description": "Get n-grams from text",

@@ -16,4 +16,4 @@ "license": "MIT",

],
"repository": "https://github.com/wooorm/n-gram",
"bugs": "https://github.com/wooorm/n-gram/issues",
"repository": "https://github.com/words/n-gram",
"bugs": "https://github.com/words/n-gram/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",

@@ -28,12 +28,12 @@ "contributors": [

"devDependencies": {
"browserify": "^13.0.0",
"browserify": "^14.0.0",
"esmangle": "^1.0.0",
"nyc": "^8.3.1",
"remark-cli": "^2.0.0",
"remark-preset-wooorm": "^1.0.0",
"nyc": "^11.0.0",
"remark-cli": "^4.0.0",
"remark-preset-wooorm": "^3.0.0",
"tape": "^4.0.0",
"xo": "^0.17.0"
"xo": "^0.18.0"
},
"scripts": {
"build-md": "remark . --quiet --frail",
"build-md": "remark . -qfo",
"build-bundle": "browserify index.js --bare -s nGram > n-gram.js",

@@ -55,2 +55,3 @@ "build-mangle": "esmangle n-gram.js > n-gram.min.js",

"space": true,
"esnext": false,
"ignores": [

@@ -61,5 +62,6 @@ "n-gram.js"

"remarkConfig": {
"output": true,
"presets": "wooorm"
"plugins": [
"preset-wooorm"
]
}
}

@@ -49,9 +49,9 @@ # n-gram [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov]

[travis-badge]: https://img.shields.io/travis/wooorm/n-gram.svg
[travis-badge]: https://img.shields.io/travis/words/n-gram.svg
[travis]: https://travis-ci.org/wooorm/n-gram
[travis]: https://travis-ci.org/words/n-gram
[codecov-badge]: https://img.shields.io/codecov/c/github/wooorm/n-gram.svg
[codecov-badge]: https://img.shields.io/codecov/c/github/words/n-gram.svg
[codecov]: https://codecov.io/github/wooorm/n-gram
[codecov]: https://codecov.io/github/words/n-gram

@@ -58,0 +58,0 @@ [npm]: https://docs.npmjs.com/cli/install

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