From 896e129ef6496da99b93984cedb9a42171565e96 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Wed, 17 Jul 2024 18:45:43 +0800 Subject: [PATCH] docs: update badge --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 72903e4..ffea7cb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # `oxc-node` -[![CI](https://github.com/oxc-project/oxc-node/actions/workflows/CI.yml/badge.svg)](https://github.com/oxc-project/oxc-node/actions/workflows/CI.yml) +[![Build Status][ci-badge]][ci-url] +[![npmjs.com][npm-badge]][npm-url] Fast and friendly Node.js devtools based on [OXC](https://github.com/oxc-project/oxc) @@ -13,3 +14,8 @@ Transformer and register for Node.js projects. ```bash node --import @oxc-node/core/register ./path/to/entry.ts ``` + +[ci-badge]: https://github.com/oxc-project/oxc-node/actions/workflows/CI.yml/badge.svg?branch=main +[ci-url]: https://github.com/oxc-project/oxc-node/actions/workflows/CI.yml +[npm-url]: https://www.npmjs.com/package/@oxc-node/core +[npm-badge]: https://img.shields.io/npm/dw/@oxc-node/core?label=npm