A redirection url to many common things. Mainly focused on documentation.
Let's say your buddy is asking a really dumb JavaScript question about how to use Array.map
, instead of doing the searching yourself you could just link him to: njs.icu/mdn/array-map.
Or maybe your friend asks a really good question about what exactly Alan Turing did; just link him to njs.icu/wiki/alan-turing.
The full list of supported websites are listed at njs.icu. But I will also try to maintain them here.
This project is heavily inspired by mdn.io. It uses duckduckgo to return the most relevant result.
Essentially, clicking on njs.icu/mdn/object-assign is the same as:
- Going to duckduckgo
- Searching for: "object-assign site:developer.mozilla.org"
- Clicking on the first result.
This is great, but has the following side effects:
Links may change over time.
(Though it's worth noting that the link should always be relevant [according to duckduckgo])
Some sites work better than others.
For example, mdn is perfect for this because everything has its own page. So I could link something like njs.icu/mdn/array-foreach.
In contrast, the NodeJS docs aren't super great with this project. The NodeJS docs have only a page for the module, so njs.icu/node/fs-readfile and njs.icu/node/fs-writefile will link to the same page.
You can always view an up to date list of all the supported sites at njs.icu. This page is generated on each config update.
- /djs/ — Discord.JS docs
- /express/ — Express docs
- /fastify/ — Fastify docs
- /github/ — Github repos
- /hn/ — Hacker News
- /mdn/ — Mozilla Developer Network docs
- /mongo/ — MongoDB docs
- /mongoose/ — Mongoose docs
- /next/ — NextJS docs
- /node — NodeJS docs
- /npm/ — NPM packages
- /prisma/ — Prisma docs
- /react/ — React docs
- /reddit/ — Reddit
- /so/ — Stack Overflow
- /solid/ — SolidJS docs
- /svelte/ — Svelte docs
- /wiki/ — Wikipedia
Okay! Submit a pull request. Make sure the site fits these requirements:
- Is somehow useful for developers.
- Is for something that is widely used.
- Does not use a misleading path.
Also, please make sure to update the readme and the config.json
with the sites you want to add.
Your PR will be rejected if you rename or remove another site without an excellent reason.