JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 148
  • Score
    100M100P100Q88383F
  • License MIT

Get all of the URL's from a website.

Package Exports

  • get-site-urls

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-site-urls) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

🔗 Get site URL's Build Status

Get all of the URL's from a website.

Install

npm install get-site-urls

Usage

GetSiteUrls( 'https://alexpage.com.au' )
    .then( links => console.log( links ) );

GetSiteUrls( 'https://ds:ds@designsystem.apps.y.cld.gov.au' )
    .then( links => console.log( links ) );

( async () => {
    const links = await GetSiteUrls( 'https://alexpage.com.au' );
    console.log( links );
})();

Parameters

The function GetSiteUrls takes two parameters:

GetSiteUrls( url, maxDepth );
  1. url - The url to search
  2. maxDepth - The maximum depth to search, default 100

Release History

  • v1.1.2 - Update package.json link
  • v1.1.1 - Fix issue with CI
  • v1.1.0 - Fixing bugs with urls, adding tests and basic auth support
  • v1.0.0 - 💥 First commit