Simply a key rotation tool!~
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .docs | ||
| .forgejo | ||
| packages | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| .nvmrc | ||
| .prettierrc | ||
| .releaserc.yml | ||
| bun.lock | ||
| CONTRIBUTING.md | ||
| eslint.config.ts | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Simply a key rotation tool!~ ❤️
Install
NPM
$ npm install @refreshly/core @refreshly/aws @refreshly/github
Bun
$ bun add @refreshly/core @refreshly/aws @refreshly/github
Yarn
$ yarn add @refreshly/core @refreshly/aws @refreshly/github
PNPM
$ pnpm add @refreshly/core @refreshly/aws @refreshly/github
Usage
import { Refreshly } from '@refreshly/core';
import { AWS } from '@refreshly/aws';
import { GitHub } from '@refreshly/github';
Refreshly(
new AWS.Source({
key: myAwsAccessKeyId, // process.env.AWS_ACCESS_KEY_ID
secretKey: myAwsSecretAccessKey, // process.env.AWS_SECRET_ACCESS_KEY
prefix: 'CI_ONLY_',
targets: [
new GitHub.Target({
token: myGitHubToken, // process.env.GH_TOKEN || process.env.GITHUB_TOKEN
orgs: ['ribbon-studios'],
}),
],
})
);