Skip to content

Commit 78f4b63

Browse files
committed
Readme: Badges
1 parent f18ecf0 commit 78f4b63

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
# XRegExp 5.1.1 [![Build Status](https://github.com/slevithan/xregexp/workflows/Node.js%20CI/badge.svg)](https://github.com/slevithan/xregexp/actions)
1+
# XRegExp
2+
3+
[![npm version][npm-version-src]][npm-version-href]
4+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
25

36
> [!TIP]
4-
> XRegExp was indispensable for heavy regex users in its time, but many of its best features have been adopted by modern JavaScript. Check out [`regex`](https://github.com/slevithan/regex), the lightweight spiritual successor to XRegExp that once again takes JavaScript regexes to the next level.
7+
> XRegExp was indispensable for heavy regex users in its time, but many of its best features have been adopted into modern JavaScript. Check out [Regex+](https://github.com/slevithan/regex), the lightweight spiritual successor to XRegExp that once again takes JavaScript regexes to the next level.
58
69
XRegExp provides augmented (and extensible) JavaScript regular expressions. You get modern syntax and flags beyond what browsers support natively. XRegExp is also a regex utility belt with tools to make your grepping and parsing easier, while freeing you from regex cross-browser inconsistencies and other annoyances.
710

@@ -277,3 +280,10 @@ XRegExp project collaborators are:
277280
Thanks to all contributors and others who have submitted code, provided feedback, reported bugs, and inspired new features.
278281

279282
XRegExp is released under the [MIT License](https://mit-license.org/). Learn more at [xregexp.com](https://xregexp.com/).
283+
284+
<!-- Badges -->
285+
286+
[npm-version-src]: https://img.shields.io/npm/v/xregexp?color=78C372
287+
[npm-version-href]: https://npmjs.com/package/xregexp
288+
[npm-downloads-src]: https://img.shields.io/npm/dm/xregexp?color=78C372
289+
[npm-downloads-href]: https://npmjs.com/package/xregexp

0 commit comments

Comments
 (0)