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

1.1.0 • 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

Version

1.1.0

License

Apache-2.0

Unpacked Size

27 kB

Total Files

14

Last publish

Collaborators

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