Ghost/ghost/extract-api-key
2022-05-10 14:18:38 +08:00
..
lib Bootstrapped api key extractor package 2022-05-10 12:37:05 +08:00
test Added extra test for output when request has no keys 2022-05-10 14:18:38 +08:00
.eslintrc.js Bootstrapped api key extractor package 2022-05-10 12:37:05 +08:00
index.js Bootstrapped api key extractor package 2022-05-10 12:37:05 +08:00
LICENSE Bootstrapped api key extractor package 2022-05-10 12:37:05 +08:00
package.json Bootstrapped api key extractor package 2022-05-10 12:37:05 +08:00
README.md Bootstrapped api key extractor package 2022-05-10 12:37:05 +08:00

Extract Api Key

Extracts API key value from requests in formats known to Ghost

Install

npm install @tryghost/extract-api-key --save

or

yarn add @tryghost/extract-api-key

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.