Skip to content

Commit 78d052b

Browse files
committedJan 11, 2024
chore: add badges
1 parent 34f6026 commit 78d052b

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed
 

‎README.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# mlly
22

3+
[![npm version][npm-version-src]][npm-version-href]
4+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
5+
[![Codecov][codecov-src]][codecov-href]
6+
37
> Missing [ECMAScript module](https://nodejs.org/api/esm.html) utils for Node.js
48
59
While ESM Modules are evolving in Node.js ecosystem, there are still
@@ -343,7 +347,7 @@ Resolves module and reads its contents to extract possible export names using st
343347
import { resolveModuleExportNames } from "mlly";
344348

345349
// ["basename", "dirname", ... ]
346-
console.log(await resolveModuleExportNames("pathe"));
350+
console.log(await resolveModuleExportNames("mlly"));
347351
```
348352
349353
## Evaluating Modules
@@ -531,4 +535,13 @@ const subpath = lookupNodeModuleSubpath(
531535
532536
## License
533537
534-
[MIT](./LICENSE) - Made with ❤️
538+
[MIT](./LICENSE) - Made with 💛
539+
540+
<!-- Badges -->
541+
542+
[npm-version-src]: https://img.shields.io/npm/v/mlly?style=flat&colorA=18181B&colorB=F0DB4F
543+
[npm-version-href]: https://npmjs.com/package/mlly
544+
[npm-downloads-src]: https://img.shields.io/npm/dm/mlly?style=flat&colorA=18181B&colorB=F0DB4F
545+
[npm-downloads-href]: https://npmjs.com/package/mlly
546+
[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/mlly/main?style=flat&colorA=18181B&colorB=F0DB4F
547+
[codecov-href]: https://codecov.io/gh/unjs/mlly

0 commit comments

Comments
 (0)
Please sign in to comment.