Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Dec 29, 2020
1 parent 2eb7670 commit 7183370
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,22 @@ When someone use your library, he can do the following to load the css
import { injectStyle } from "your-library/inject-style";
// inject the stylesheet into the dom
injectStyle();
```
```

## Installation

You can install the package with npm or yarn

```sh
npm i style2js
// with yarn
yarn add style2js
```
Or use it directly via npx

```sh
npx style2js
```



0 comments on commit 7183370

Please sign in to comment.