alias-hq
The end-to-end solution for configuring, refactoring, maintaining and using path aliases (by davestewart)
tsconfig-paths
Load node modules according to tsconfig paths, in run-time or via API. (by dividab)
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 | tsconfig-paths | |
---|---|---|
3 | 5 | |
329 | 1,766 | |
- | 0.7% | |
4.5 | 1.0 | |
6 months ago | 8 days ago | |
JavaScript | TypeScript | |
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.
tsconfig-paths
Posts with mentions or reviews of tsconfig-paths.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-28.
-
ERDIA: TypeORM entity specification documentation tool
If you've use a re-map path in your project, you have to pass it up to tsconfig-paths like this,
-
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.
-
How to write path.resolve cleaner?
If you're not using webpack, you can give tsconfig-paths a try.
-
Ultimate Node.js starter that scales with DI, native TypeScript, super fast unit tests and all batteries included
Path mapping Very handy tsconfig-paths library allows to import modules from the filesystem without prefixing them with "./".
-
Use ts-node to run code across multiple monorepo packages
was just dealing with this yesterday. You need to use this package: https://github.com/dividab/tsconfig-paths
What are some alternatives?
When comparing alias-hq and tsconfig-paths you can also consider the following projects:
ts-monorepo - Template for setting up a TypeScript monorepo