Ghost/ghost/extract-api-key
Naz 988acff403 Simplified returned data from api key extraction
refs https://github.com/TryGhost/Toolbox/issues/292

- We can query the data base by the API key itself, there's no need for type of the API  at any point yet
2022-05-10 14:44:55 +08:00
..
lib Simplified returned data from api key extraction 2022-05-10 14:44:55 +08:00
test Simplified returned data from api key extraction 2022-05-10 14:44:55 +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.