Comments (3)
@habibredissi It's the time to switch completely to ESM, which you can safely use everywhere, from Node, Deno, Bun platfrom to the browsers.
from article-extractor.
@BertrandBev yes. since v8.0, we stopped generating commonjs version.
from article-extractor.
@ndaidong We're experiencing the same error. Do you know how to fix it for a (NodeJs + TypeScript) project.
tsconfig.json
{
"compilerOptions": {
"baseUrl": "./",
"target": "ES2018",
"module": "commonjs",
"jsx": "react-jsx",
"outDir": "./dist",
"strict": true,
"noEmit": true,
"lib": ["es2015"],
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"ts-node": {
"require": ["tsconfig-paths/register"]
}
}
package.json
:
"start": "ts-node -T src/server.ts | bunyan",
THANKS!!
from article-extractor.
Related Issues (20)
- Can't run the lib with J
- Can't run using JEST HOT 3
- Some url do not work HOT 2
- Incorrect resolution when there are multiple Open Graph tags HOT 3
- Node example works but deno don't on a specific site HOT 2
- Can i use with utf 8 ? HOT 1
- Specific site work with deno but not node HOT 7
- Feat: extract pagetype from og:type or ld+json HOT 3
- Encountering errors while using library inside NodeJS + TS project HOT 4
- Expected ',' or '}' after property value in JSON at position 543 (line 23 column 7) HOT 4
- Crashes on Pinterest and a lot of other websites HOT 16
- @extractus/article-extractor 8.0.6 isn't compatible with Google Cloud Functions HOT 5
- Encoding windows-1250 not properly decoded! HOT 4
- img tag with "data" protocol was removed when doing purify HOT 3
- Using Playwright or Pupperteer do not work for me with extractFromHtml() HOT 1
- Is it possible to enable the Require() Import ? HOT 5
- Not getting any data when extracting from https://zenn.dev/ while if i use Mozilla reader mode, i am getting data.
- extractFromHtml just returns `null`. HOT 6
- `extractFromHtml` missed an `<h1>` in the `content` json result. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from article-extractor.