@a11ywatch/website-source-builder
TypeScript icon, indicating that this package has built-in type declarations

0.1.15 • Public • Published

@a11ywatch/website-source-builder

This package is used throughout the A11yWatch eco system as re-usable utils. The purpose of this lib is to handle custom edge cases that are required for the system and found being used throughout the system like converters and data handling functions.

Installation

npm install @a11ywatch/website-source-builder

import { sourceBuild } from "@a11ywatch/website-source-builder"

const data = sourceBuild("https://a11ywatch.com");

//  output {
//       pathname: "/",
//       domain: "a11ywatch.com",
//       pageUrl: "https://a11ywatch.com",
//       url: "https://a11ywatch.com"
//     }

Utils

This repo handles the usage limits that map to each plan or role. The usage is returned as ms.

The other utils are set to build custom shapes that help display or use values in A11yWatch that may just be used in memory.

Package Sidebar

Install

npm i @a11ywatch/website-source-builder

Weekly Downloads

76

Version

0.1.15

License

MIT

Unpacked Size

27.7 kB

Total Files

36

Last publish

Collaborators

  • jeffmendez