diff --git a/readme.md b/readme.md index 9d9d732..93e5921 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # has-content -License Sponsor has-content +License Sponsor has-content Build status Commits since v1.1.0 Last commit Issues Latest version on npm Dependents Downloads @@ -11,28 +11,41 @@ +## Installation +has-content on npm +```bash +npm install --save has-content@^1.1.0 +``` +has-content on Yarn +```bash +yarn add has-content@^1.1.0 +``` +@jaid/has-content on GitHub Packages +(if [configured properly](https://help.github.com/en/github/managing-packages-with-github-packages/configuring-npm-for-use-with-github-packages)) +```bash +npm install --save @jaid/has-content@^1.1.0 +``` +## Example -## Installation -has-content on npm -```bash -npm install --save has-content@^1.1.0 -``` -has-content on Yarn -```bash -yarn add has-content@^1.1.0 +```javascript +import hasContent from "has-content" + +const result = hasContent({}) ``` -has-content on jsDelivr has-content on UNPKG -```html -