Skip to content

Commit

Permalink
Rebuilt readme with tldw
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaid committed Feb 1, 2020
1 parent 285efcb commit 45c5795
Showing 1 changed file with 31 additions and 12 deletions.
43 changes: 31 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# has-content


<a href="https://raw.githubusercontent.com/jaid/has-content/master/license.txt"><img src="https://img.shields.io/github/license/jaid/has-content?style=flat-square" alt="License"/></a> <a href="https://github.com/sponsors/jaid"><img src="https://img.shields.io/badge/<3-Sponsor-FF45F1?style=flat-square" alt="Sponsor has-content"/></a>
<a href="https://raw.githubusercontent.com/jaid/has-content/master/license.txt"><img src="https://img.shields.io/github/license/jaid/has-content?style=flat-square" alt="License"/></a> <a href="https://github.com/sponsors/jaid"><img src="https://img.shields.io/badge/<3-Sponsor-FF45F1?style=flat-square" alt="Sponsor has-content"/></a>
<a href="https://actions-badge.atrox.dev/jaid/has-content/goto"><img src="https://img.shields.io/endpoint.svg?style=flat-square&url=https%3A%2F%2Factions-badge.atrox.dev%2Fjaid%2Fhas-content%2Fbadge" alt="Build status"/></a> <a href="https://github.com/jaid/has-content/commits"><img src="https://img.shields.io/github/commits-since/jaid/has-content/v1.1.0?style=flat-square&logo=github" alt="Commits since v1.1.0"/></a> <a href="https://github.com/jaid/has-content/commits"><img src="https://img.shields.io/github/last-commit/jaid/has-content?style=flat-square&logo=github" alt="Last commit"/></a> <a href="https://github.com/jaid/has-content/issues"><img src="https://img.shields.io/github/issues/jaid/has-content?style=flat-square&logo=github" alt="Issues"/></a>
<a href="https://npmjs.com/package/has-content"><img src="https://img.shields.io/npm/v/has-content?style=flat-square&logo=npm&label=latest%20version" alt="Latest version on npm"/></a> <a href="https://github.com/jaid/has-content/network/dependents"><img src="https://img.shields.io/librariesio/dependents/npm/has-content?style=flat-square&logo=npm" alt="Dependents"/></a> <a href="https://npmjs.com/package/has-content"><img src="https://img.shields.io/npm/dm/has-content?style=flat-square&logo=npm" alt="Downloads"/></a>

Expand All @@ -11,28 +11,41 @@



## Installation

<a href="https://npmjs.com/package/has-content"><img src="https://img.shields.io/badge/npm-has--content-C23039?style=flat-square&logo=npm" alt="has-content on npm"/></a>

```bash
npm install --save has-content@^1.1.0
```

<a href="https://yarnpkg.com/package/has-content"><img src="https://img.shields.io/badge/Yarn-has--content-2F8CB7?style=flat-square&logo=yarn&logoColor=white" alt="has-content on Yarn"/></a>

```bash
yarn add has-content@^1.1.0
```

<a href="https://github.com/jaid/has-content/packages"><img src="https://img.shields.io/badge/GitHub Packages-@jaid/has--content-24282e?style=flat-square&logo=github" alt="@jaid/has-content on GitHub Packages"/></a>
(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
<a href="https://npmjs.com/package/has-content"><img src="https://img.shields.io/badge/npm-has--content-C23039?style=flat-square&logo=npm" alt="has-content on npm"/></a>
```bash
npm install --save has-content@^1.1.0
```
<a href="https://yarnpkg.com/package/has-content"><img src="https://img.shields.io/badge/Yarn-has--content-2F8CB7?style=flat-square&logo=yarn&logoColor=white" alt="has-content on Yarn"/></a>
```bash
yarn add has-content@^1.1.0
```javascript
import hasContent from "has-content"

const result = hasContent({})
```
<a href="https://jsdelivr.com/package/npm/has-content/"><img src="https://img.shields.io/badge/jsDelivr-has--content-orange?style=flat-square&logo=html5&logoColor=white" alt="has-content on jsDelivr"/></a> <a href="https://unpkg.com/browse/has-content/"><img src="https://img.shields.io/badge/UNPKG-has--content-orange?style=flat-square&logo=html5&logoColor=white" alt="has-content on UNPKG"/></a>
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]/index.js"/>

Variable `result` will now be:

```javascript
false
```


Expand All @@ -41,6 +54,12 @@ yarn add has-content@^1.1.0









## Development


Expand Down

0 comments on commit 45c5795

Please sign in to comment.