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

@eqsmarketing/frontend-site

v3.1.2

Published

Equipmentshare's custom code for the Webflow build

Downloads

120

Readme

Equipmentshare

This repo contains Equipmentshare's Greenhouse API Level 5 integration. To learn how to contribute, please see the contributing guide.

Links of interest:

Table of Contents

In a nutshell

This custom Webflow site fetches data from the Greenhouse API and displays career positions on multiple pages. Some pages feature automatic filtering, while others allow the user to filter the results on demand.

Deployed scripts

The following scripts have been deployed for this project:

| Name | Latest | | ------------------------------- | -------------------------------------------------------------------------------------------------- | | src/careers/openings | https://cdn.jsdelivr.net/npm/@eqsmarketing/[email protected]/dist/careers/openings.js | | src/careers/department-template | https://cdn.jsdelivr.net/npm/@eqsmarketing/[email protected]/dist/careers/department-template.js | | src/careers/position | https://cdn.jsdelivr.net/npm/@eqsmarketing/[email protected]/dist/careers/position.js | | src/careers/custom-position | https://cdn.jsdelivr.net/npm/@eqsmarketing/[email protected]/dist/careers/custom-position.js |

Scripts placement

The following section outlines the specific pages and elements where the deployed scripts should be applied for optimal functionality. It's separated by pages and elements where data attributes are required.

Position Page

Check on sandbox

Page setup

The following scripts must be placed in the Custom Code section of the page settings, right in the "Inside <head> tag":

<!-- [Attributes by Finsweet] CMS Filter -->
<script
  async
  src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsfilter@1/cmsfilter.js"
></script>

<!-- [Attributes by Finsweet] CMS Load -->
<script async src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsload@1/cmsload.js"></script>

<!-- Custom Code -->
<script
  async
  src="https://cdn.jsdelivr.net/npm/@eqsmarketing/[email protected]/dist/careers/position.js"
></script>

Data attributes

Inside this page, you should add the following attributes to elements:

| ATTRIBUTE | DESCRIPTION | | -------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | data-element = "department" | Placed to any text element, it will populate it with the job department. | | data-element = "title" | Placed to any text element, it will populate it with the job title. | | data-element = "location" | Placed to any text element, it will populate it with the job location. | | data-element = "posted-date" | Placed to any text element, it will populate it with the job posted date. | | data-element = "contract-type" | Placed to any text element, it will populate it with the job contract type. | | data-element = "description" | Placed to a rich text element, it will populate it with the job details (note: all styles are coming from Greenhouse) |

Current Openings Page

Check on sandbox

Page setup

The following scripts must be placed in the Custom Code section of the page settings, right in the "Inside <head> tag":

<!-- [Attributes by Finsweet] CMS Filter -->
<script
  async
  src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsfilter@1/cmsfilter.js"
></script>

<!-- [Attributes by Finsweet] CMS Load -->
<script async src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsload@1/cmsload.js"></script>

<!-- Custom Code -->
<script
  async
  src="https://cdn.jsdelivr.net/npm/@eqsmarketing/[email protected]/dist/careers/openings.js"
></script>

Data attributes

Inside this page, you should add the following attributes to elements:

| ATTRIBUTE | DESCRIPTION | | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | | gh-element = "link" | Placed to an anchor link, will populate it with the job position URL. | | gh-element = "title" | Placed to any text element, it will populate it with the job title | | gh-element = "office" | Placed to any text element, it will populate it with the job location. This element must also have a fs-cmsfilter-field = "office" attribute. |

Departments Page [Collection]

Check on sandbox

Page setup

The following scripts must be placed in the Custom Code section of the page settings, right in the "Inside <head> tag":

<!-- [Attributes by Finsweet] CMS Filter -->
<script
  async
  src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsfilter@1/cmsfilter.js"
></script>

<!-- [Attributes by Finsweet] CMS Load -->
<script async src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsload@1/cmsload.js"></script>

<!-- Custom Code -->
<script
  async
  src="https://cdn.jsdelivr.net/npm/@eqsmarketing/[email protected]/dist/careers/department-template.js"
></script>

Custom embed

An embed block must be placed on the page with the following code:

<!-- [Attributes by Finsweet] CMS Filter -->
<script type="application/json">
  {
  	"department_id": DEPARTMENT_ID,
    "metadata": {
      "name": "METADATA_NAME",
      "value": "METADATA_VALUE"
    }
  }
</script>

Note: DEPARTMENT_ID, METADATA_NAME and METADATA_VALUE are dynamic values that will be populated by the CMS. These are used for filtering, both department_id and metadata could be without the other.

Data attributes

Inside this page, you should add the following attributes to elements:

| ATTRIBUTE | DESCRIPTION | | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | | gh-element = "link" | Placed to an anchor link, will populate it with the job position URL. | | gh-element = "title" | Placed to any text element, it will populate it with the job title | | gh-element = "office" | Placed to any text element, it will populate it with the job location. This element must also have a fs-cmsfilter-field = "office" attribute. |

Third party services

The following APIs are used in this project:

| Service | Description | | ---------------------------------------------------------- | ---------------------------------- | | Greenhouse | Used to fetch career position data | | Finsweet Attributes | Used for custom filter and sorting |