├── .babelrc ├── .github ├── FUNDING.yml └── workflows │ └── tests.yml ├── .gitignore ├── .styleci.yml ├── CONTRIBUTING.md ├── README.md ├── index.js ├── lib ├── helpers │ ├── html.js │ ├── intersectSafe.js │ ├── lodash.js │ ├── summarizer.js │ └── urls.js └── summary.js ├── package.json ├── test ├── content-from-url.txt ├── content.txt └── summary.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/.styleci.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/summary') 2 | -------------------------------------------------------------------------------- /lib/helpers/html.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/lib/helpers/html.js -------------------------------------------------------------------------------- /lib/helpers/intersectSafe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/lib/helpers/intersectSafe.js -------------------------------------------------------------------------------- /lib/helpers/lodash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/lib/helpers/lodash.js -------------------------------------------------------------------------------- /lib/helpers/summarizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/lib/helpers/summarizer.js -------------------------------------------------------------------------------- /lib/helpers/urls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/lib/helpers/urls.js -------------------------------------------------------------------------------- /lib/summary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/lib/summary.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/package.json -------------------------------------------------------------------------------- /test/content-from-url.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/test/content-from-url.txt -------------------------------------------------------------------------------- /test/content.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/test/content.txt -------------------------------------------------------------------------------- /test/summary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/test/summary.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jbrooksuk/node-summary/HEAD/yarn.lock --------------------------------------------------------------------------------