npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@appointedd/booking-tools-sdk

v1.16.0

Published

This repository hosts the public source development kit (SDK) that allows Appointedd's clients to programmatically integrate our booking tools with their website and interact with it via page scripts.

Downloads

156

Readme

Appointedd Booking Tools SDK

This repository hosts the public source development kit (SDK) that allows Appointedd's clients to programmatically integrate our booking tools with their website and interact with it via page scripts.

This SDK only supports our modern booking tools (referred to in the software as Widgets 2.0) and not our legacy booking tools (referred to in the software as Legacy Widgets).

| Component | Description | | ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Booking Tool SDK | Provides an API for integrating and interacting with our booking tools. | | Location Search | Provides a consumable component that allows a user to input location and preferred date & time preferences before beginning the booking journey with our booking tools. |

Development

This project supports volta which allows you to automatically use the correct node.js and pnpm versions without any additional configuration.

Installing Dependencies

We use pnpm to manage our dependencies. If you already have volta setup you can simply run the following command in a terminal with the root of this project open.

If you run into issues with the pnpm command not existing, ensure you've correctly reinstalled volta. Alternatively you can also try running volta install pnpm.

pnpm install

SDK Bundle Development

If you're developing applications and services that require the SDK bundle to be served locally, you can run the command below in a terminal at the root of the project.

pnpm dev

A local version of the bundle will be served be accessible at http://localhost:9002/appointedd-booking-tools-sdk-v1.js.

Running Storybook

To view a live preview of the React components we export you can run Storybook in your terminal at the root of this project.

pnpm run storybook

Versioning Strategy

Our general policy is to avoid breaking changes as much as possible and only implement these if absolutely required.

NPM Package

This project uses semantic versioning which is automatically enforced by a combination of using conventional commits with semantic release to automatically run package deployments on push/merge to our main branch. The version bump of the package utilises the commits to calculate whether to bump the version of the package by a major/minor/patch version.

Because of this please familiarise yourself with the conventional commits and ensure that your commits are correctly encapsulated as deployments and version bumps will not trigger correctly if you do not follow this specification.

Components

We also make use of folder level major versioning (eg. V1/, V2/), at the component level. If you need to implement a breaking change you MUST create a new folder level version.

Versions should be isolated and independent of each other and should not import the same code. Any version below the latest major version should be considered deprecated and a deprecation warning in the form of a console message should be implemented.