![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
sitemap-crawler
Advanced tools
Generate sitemap just throw any link.
sitemap-crawler
collect directly accessible url through resolve with href value.
const siteMap = require('sitemap-crawler');
const link = 'http://www.npmjs.com';
siteMap(link, (err, res) => {
console.log('error:', err);
console.log('siteMap:', res); // Print the siteMap from link
});
Result
[
"https://npmjs.com/features",
"https://npmjs.com/pricing",
"https://npmjs.com/support",
"https://npmjs.com/signup",
"https://npmjs.com/signup?next=/org/create",
"https://npmjs.com/get-npm",
"https://npmjs.com/enterprise",
...
]
You can crawl from string array that includes link.
In this case, crawler response object type.
const siteMap = require('sitemap-crawler');
const links = [
'http://www.npmjs.com',
'http://github.com',
'www.amazon.com'
]
siteMap(links, (err, res) => {
console.log('error:', err);
console.log('siteMap:', res); // Print the siteMap from link
});
Result
{
"count": 3,
"siteMap": {
"http://www.npmjs.com": [...],
"http://www.amazon.com": [...],
"http://github.com": [...]
}
}
You can use prepared options.
isProgress
Boolean
: If true, show CLI Progress while crawl.isLog
Boolean
: If true, print request error log.const siteMap = require('sitemap-crawler');
const link = 'http://www.npmjs.com';
siteMap(link, {isProgress : true, isLog : true}, (err, res) => {
console.log('error:', err);
console.log('siteMap:', res); // Print the siteMap from link
});
This project has MIT License.
FAQs
Generate sitemap just throw any link.
The npm package sitemap-crawler receives a total of 0 weekly downloads. As such, sitemap-crawler popularity was classified as not popular.
We found that sitemap-crawler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.