Skip to content

Instantly share code, notes, and snippets.

View fergiemcdowall's full-sized avatar

Fergus McDowall fergiemcdowall

  • Oslo
View GitHub Profile
// ref https://github.com/fergiemcdowall/search-index/issues/519
// run
// > npm init
// > npm install search-index tape
// > node 519.js
const si = require('search-index')
const test = require('tape')
const indexName = '_519'
@fergiemcdowall
fergiemcdowall / README.md
Last active December 5, 2023 14:02
Testing tree-shaking with the stopword module

As per the issue on github

  1. Clone this repo
  2. run npm install
  3. run npm test. The output should ideally only contain English stopwords