pages-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

pages-sdk

Library containing components and helper functions for pages project

Installation

Run the following command: npm install pages-sdk

For development run npm i --legacy-peer-deps as one of the dependencies have a compatibility issue.

Components

  • Map
  • Searchbar

Helper functions

  • convertDistance - from geolib
  • getDistance - from geolib
  • filterLocations
  • getBusinessHours
  • formatPhoneNumber
  • getLocationSlug
  • getOperationHours
  • getTimeOnClosed
  • getTimeSlotString
  • getTimeString
  • sortHours
  • sortLocationsFromNearestToFarthest
  • validateSpecialDate

Readme

Keywords

none

Package Sidebar

Install

npm i pages-sdk

Weekly Downloads

0

Version

0.1.6

License

none

Unpacked Size

27 kB

Total Files

16

Last publish

Collaborators

  • synup