New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

css-urls

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-urls

et all URLs referenced from stylesheet files

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
349
decreased by-13.61%
Maintainers
1
Weekly downloads
 
Created
Source

css-urls

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status Donate

Get all URLs referenced from stylesheet files

Install

$ npm install css-urls --save

Usage

From single URL

(async () => {
  const { urls, meta } = await cssUrls('https://kikobeats.com/styles.css')
})()

From a collection of URLs

(async () => {
  const { urls, meta } = await cssUrls([
    'https://elenatorro.github.io/build/assets/style.css',
    'https://kikobeats.com/styles.css'
  ])
})()

API

cssUrls(url, [options])

url

Required
Type: string|array

The target URL(s) for extracting urls referenced

options

Type: object

Use it for providing html-get#options.

License

css-urls © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats

Keywords

FAQs

Package last updated on 22 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc