@lokalise/script-utils
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Script utils

Usage

Syncing vault secrets with .env file

//sync-with-vault.ts
import { synchronizeEnvFileWithVault } from '@lokalise/script-utils'

//Use this function to sync .env file with vault secrets, provide all params to the function.

tsx is recommended to be used as a script runner, so you can add the following script to your package.json file:

"scripts": {
    "sync-with-vault": "tsx sync-with-vault.ts"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @lokalise/script-utils

Weekly Downloads

1,579

Version

1.1.1

License

Apache-2.0

Unpacked Size

27.5 kB

Total Files

14

Last publish

Collaborators

  • bodrovis
  • marcocardosolok
  • laurislokalise
  • botlokalise
  • kibertoad
  • carlos_gamero
  • aplokalise
  • filippos.mikropoulos
  • yury.kravtsov
  • arthuracs
  • andrew_lokalise
  • dariacm
  • forter_lokalise
  • mmounirf