Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed May 21, 2023
1 parent 5fbc29a commit d510dc5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# oust [![Build Status](https://github.com/addyosmani/oust/workflows/Tests/badge.svg)](https://github.com/addyosmani/oust/actions?workflow=Tests)
# oust

[![CI](https://img.shields.io/github/actions/workflow/status/addyosmani/oust/test.yml?branch=master&label=CI&logo=github)](https://github.com/addyosmani/oust/actions/workflows/test.yml?query=branch%3Amaster)
[![npm version](https://img.shields.io/npm/v/oust?logo=npm&logoColor=fff)](https://www.npmjs.com/package/oust)

> Extract URLs to stylesheets, scripts, links, images or HTML imports from HTML
Expand Down Expand Up @@ -82,11 +85,13 @@ with cheerio convenience syntax (e.g. `$el.attr()`)
```js
const srcs = oust.raw(htmlString, '...');

-> [
/*
-> [
{value: '...', $el: '...'},
{value: '...', $el: '...'},
...
]
*/
```

## API
Expand Down

0 comments on commit d510dc5

Please sign in to comment.