alias-hq
The end-to-end solution for configuring, refactoring, maintaining and using path aliases (by davestewart)
proposal-pkg-exports
Proposal for Bare Module Specifier Resolution in node.js (by jkrems)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
alias-hq | proposal-pkg-exports | |
---|---|---|
3 | 2 | |
329 | 124 | |
- | - | |
4.5 | 0.0 | |
6 months ago | about 3 years ago | |
JavaScript | ||
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
alias-hq
Posts with mentions or reviews of alias-hq.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-04.
-
The Native Way To Configure Path Aliases in Frontend Projects
There are multiple libraries available for configuring path aliases in Node.js, such as alias-hq and tsconfig-paths. However, while looking through the Node.js documentation, I discovered a way to configure path aliases without having to rely on third-party libraries. Moreover, this approach enables the use of aliases without requiring the build step.
-
Path Aliases in TypeScript and why you should use them
You could make it work by yourself, but… instead of spending some time figuring out how to do it (feel free to do it if you want or have time for that), I recommend you to check this amazing package (Alias HQ) which is free and basically uses your tsconfig.json or jsconfig.json file to setup everything for you and make really easy to configure all those more advanced needs.
-
[AskJS] Do you use Yarn v2?
Where I personally gave up on trying to use Yarn + PnP for my team's project was folder aliases. We had a few aliases set up using https://github.com/davestewart/alias-hq , so that we could use the same aliases with Node, Jest, and Webpack. That wouldn't work as-is, because again Yarn has to have full control over all package file access, and so it needs to understand what those aliases are. I got stuck trying to figure out how to get those aliases configured with Yarn instead, and gave up on PnP at that point.
proposal-pkg-exports
Posts with mentions or reviews of proposal-pkg-exports.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-04.
-
The Native Way To Configure Path Aliases in Frontend Projects
💡 Here's an interesting fact: Node.js introduced support for the imports field back in 2020 through the RFC called "Bare Module Specifier Resolution in node.js". While this RFC is mainly recognized for the exports field, which allows the declaration of entry points for npm packages, the exports and imports fields address completely different tasks, even though they have similar names and syntax.
-
Exports in package.json
What else kind of problems exports resolves? You can see here. Also, you can see the repository with an example here.
What are some alternatives?
When comparing alias-hq and proposal-pkg-exports you can also consider the following projects:
ts-monorepo - Template for setting up a TypeScript monorepo
tsdx - Zero-config CLI for TypeScript package development [Moved to: https://github.com/jaredpalmer/tsdx]
tsdx - Zero-config CLI for TypeScript package development
cli - the package manager for JavaScript
tsconfig-paths - Load node modules according to tsconfig paths, in run-time or via API.
jest - Delightful JavaScript Testing.