1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00

Add TypeScript usage to README (#2675)

This commit is contained in:
Eric Cornelissen 2020-02-26 18:10:52 +02:00 committed by GitHub
parent aef12f51e6
commit c6af93f240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,15 @@ console.log(icon);
*/ */
``` ```
### PHP usage #### TypeScript Usage
There are also TypeScript type definitions for the Node package. To use them, simply run:
```
$ npm install @types/simple-icons
```
### PHP Usage
The icons are also available through our Packagist package. To install, simply run: The icons are also available through our Packagist package. To install, simply run: