node-summary
node-summary copied to clipboard
Node module that summarizes text using a naive summarization algorithm
node_modules/node-summary/lib/summary.js:1 (function (exports, require, module, __filename, __dirname) { import _ from 'lodash' on node version v11.6.0
Hi, if this is an isomorphic library base, perhaps it can adapted for Deno as well?
/Users/sushant/Desktop/summarize/node_modules/node-summary/lib/summary.js:1 (function (exports, require, module, __filename, __dirname) { import _ from 'lodash' ^ SyntaxError: Unexpected identifier fix for this?
The import statements in the summary.js causing error: ``` import _ from 'lodash' import Tokenizer from 'sbd' import request from 'request' ``` ``` (function (exports, require, module, __filename, __dirname) {...
Hi, Can we used this function with async/await? The following code doesn't work for me and I am not able to figure out why because the same approach works with...
Apart from the `require` function being called to load lodash, there is no real reason that prevents _node-summary_ from running in the browser.
When we used using webpack-4 with latest configuration we came across above failure You can reproduce the error using configuration something similar to https://github.com/mohanmca/simple-webpack
Hi, I am trying to get a summary text for a given webpage but the returned summary is short / bad and I cant figure out why.... Here are my...
Error:
Hi, I report an error with installing with npm + browserify ? Error: Parsing file [my_proj]/node_modules/node-summary/lib/summary.js: 'import' and 'export' may appear only with 'sourceType: module' (1:0)
I have a error when import 'lodash-node/underscore'. Error: Cannot find module 'lodash-node/underscore' at Function.Module._resolveFilename (module.js:455:15) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19)