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 🙏

© 2025 – Pkg Stats / Ryan Hefner

botfuel-hermes-webchat-client

v2.6.7

Published

[![](https://data.jsdelivr.com/v1/package/npm/botfuel-hermes-webchat-client/badge)](https://www.jsdelivr.com/package/npm/botfuel-hermes-webchat-client) # Botfuel Hermes webchat client

Downloads

106

Readme

Botfuel Hermes webchat client

Installation

In order to deploy a Botfuel Hermes app on your website, you need to:

  • create an account on the app,
  • create a new app
  • copy the code snippet
  • paste it on your website

Distribution

We use the CDN of jsDelivr to distribute the webchat client code.

Publishing a new version

Versioning

We rely on Semantic Versioning for versioning the webchat client. The code snippet uses the latest version of the webchat client.

1. Update package version

According to Semantic Versioning standards:

  • PATCH for backwards compatible bug fixes
  • MINOR for new functionalities in a backwards compatible manner
  • MAJOR for new functionalities that includes incompatible API changes

To update the package version:

npm version <patch|minor|major>

Don't forget to push the new version commit on GitHub.

2. Publish the new package version to jsDelivr

To publish the new package:

npm publish

Integration

To integrate the widget into a website put the following code at the end of the <body> tag:

<script src="https://cdn.jsdelivr.net/npm/botfuel-hermes-webchat-client"></script>
<script type="text/javascript">
  BotfuelWebChat.init({
    websiteId: 'WEBSITE_ID',
  });
</script>

Non-production environments

To use a non-production environment you'll have to define the two options serverUrl and backendUrl to define respectively the webchat server and backend to which the widget should communicate with.

Use the following code for the staging environment:

<script src="https://cdn.jsdelivr.net/npm/botfuel-hermes-webchat-client"></script>
<script type="text/javascript">
  BotfuelWebChat.init({
    websiteId: 'WEBSITE_ID',
    serverUrl: 'https://botfuel-hermes-webchat-srv-s.herokuapp.com',
    backendUrl: 'https://botfuel-hermes-backend-staging.herokuapp.com',
  });
</script>

Icons

For icons we use a font of icons generated on Icomoon App.

To update the icon list:

  1. Go to https://icomoon.io/app
  2. Click the "Import icons" button
  3. Import the file src/assets/fonts/selection.json
  4. Edit icons selection
  5. Once the selection is ready to be downloaded go to "Generate font" tab (bottom right)
  6. Click download and open archive
  7. In src/assets/fonts/ replace font files (.eot, .svg, .ttf, .woff) and selection.json by the new files

Dates

Dates format and manipulations are handled using Date-fns.

License

See LICENSE.