Skip to content

Commit ad49409

Browse files
committed
Update README
1 parent aa0d142 commit ad49409

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

README.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# module-alias
22
[![NPM Version][npm-image]][npm-url]
3-
[![Build Status][travis-image]][travis-url]
3+
4+
If everyone who reads this would donate just $1, I would be a millionaire in 1 week! 🙃 Thank you for reaching 1M+ weekly downloads!
5+
6+
More donations means more motivation for me to make updates. Thank you so much!
7+
8+
[DONATE $1 ❤️](https://tinyurl.com/donate-module-alias)
9+
10+
---
411

512
Create aliases of directories and register custom module paths in NodeJS like a boss!
613

@@ -184,11 +191,23 @@ In order to register an alias it modifies the internal `Module._resolveFilename`
184191

185192
In order to register a custom modules path (`addPath`) it modifies the internal `Module._nodeModulePaths` method so that the given directory then acts like it's the `node_modules` directory.
186193

194+
## Refactor your code (for already existing projects)
195+
196+
If you are using this on an existing project, you can use [relative-to-alias](https://github.com/s-yadav/relative-to-alias) to refactor your code to start using aliases.
197+
198+
## Donate
199+
200+
If everyone who downloads module-alias would donate just $1, I would be a millionaire in 1 week!
201+
202+
I love contributing to open source, for free, but you know, sometimes, in the middle of the night, I may wan to eat.
203+
204+
There are some improvements planned for module-alias and your donations will help a lot to make it happen faster.
205+
206+
[DONATE $1 ❤️](https://tinyurl.com/donate-module-alias) and thank you so much!
207+
208+
187209
[npm-image]: https://img.shields.io/npm/v/module-alias.svg
188210
[npm-url]: https://npmjs.org/package/module-alias
189211
[travis-image]: https://img.shields.io/travis/ilearnio/module-alias/master.svg
190212
[travis-url]: https://travis-ci.org/ilearnio/module-alias
191213

192-
## Refactor your code (for already existing projects)
193-
194-
If you are using this on an existing project, you can use [relative-to-alias](https://github.com/s-yadav/relative-to-alias) to refactor your code to start using aliases.

0 commit comments

Comments
 (0)