mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
b4445cf6e0
refs https://github.com/TryGhost/Toolbox/issues/292 - The package is meant to be one stop shop for extraction of any API keys from requests known to Ghost - To start with it should detect and return keys for Content and Admin APIs for the purposes of api version mismatch handling
636 B
636 B
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.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.