docs: add link to NPM in monthly downloads badge (#318)

- previously it just linked to the image itself; better to link to the
  source of the stats which is NPM
  - duplicates the other badge's link, but nbd, better than linking to
    an image imo
This commit is contained in:
Anton Gilgur 2022-05-04 12:08:27 -04:00 committed by GitHub
parent e4b5880aa6
commit c219228dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# rollup-plugin-typescript2
[![npm-version](https://img.shields.io/npm/v/rollup-plugin-typescript2.svg?maxAge=259200)](https://npmjs.org/package/rollup-plugin-typescript2)
![npm-monthly-downloads](https://img.shields.io/npm/dm/rollup-plugin-typescript2.svg?maxAge=259200)
[![npm-monthly-downloads](https://img.shields.io/npm/dm/rollup-plugin-typescript2.svg?maxAge=259200)](https://npmjs.org/package/rollup-plugin-typescript2)
[![Node.js CI](https://github.com/ezolenko/rollup-plugin-typescript2/workflows/Node.js%20CI/badge.svg)](https://github.com/ezolenko/rollup-plugin-typescript2/actions?query=workflow%3A"Node.js+CI")
Rollup plugin for typescript with compiler errors.