Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amagaki/amagaki-plugin-greenhouse

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amagaki/amagaki-plugin-greenhouse

[![NPM Version][npm-image]][npm-url] [![GitHub Actions][github-image]][github-url] [![TypeScript Style Guide][gts-image]][gts-url]

  • 1.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by1700%
Maintainers
2
Weekly downloads
 
Created
Source

amagaki-plugin-greenhouse

NPM Version GitHub Actions TypeScript Style Guide

An Amagaki plugin for fetching content from Greenhouse. By default, content is sanitized using DOMPurify.

Usage

As a plugin

  1. Install the plugin.
npm install --save @amagaki/amagaki-plugin-greenhouse
  1. Add to amagaki.ts.
import {GreenhousePlugin} from '@amagaki/amagaki-plugin-greenhouse';
import {BuilderPlugin, Pod} from '@amagaki/amagaki';

export default (pod: Pod) => {
  // Sync Greenhouse prior to building.
  const builderPlugin = pod.plugins.get('BuilderPlugin') as BuilderPlugin;
  builderPlugin.addBeforeBuildStep(async () => {
    const greenhouse = GreenhousePlugin.register(pod, {
      boardToken: 'boardToken',
    });
    await greenhouse.bindCollection({
      collectionPath: '/content/jobs',
    });
    await greenhouse.saveEducationFile({
      podPath: '/content/partials/education.yaml',
    });
  });
};

Via the CLI

This package is also distributed with a CLI so you can download Greenhouse job board data without using Amagaki.

npx @amagaki/amagaki-plugin-greenhouse download \
  -b <boardToken> \
  -j <jobsCollectionPodPath> \
  -e <educationPodPath> \
  [root]

FAQs

Package last updated on 03 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc