Registry / devops / super-test-json

super-test-json

JSON →
library1.7.0jsnpmunverified

env-base64-json (v1.7.0) is a CLI tool and library that outputs all environment variables as a base64-encoded JSON string. It offers a simple npx command-line interface and a programmatic API for Node.js. Unlike generic JSON encoding utilities, it specifically targets environment variable serialization for secure transmission or storage. The package is rarely updated but is stable and lightweight, with no external dependencies.

npm install super-test-json
INSTALL
IMPORT
SIG · SUPER-TEST-JSON
S
super-test-json
devopsjavascriptv1.7.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

getEnvBase64Json
const { getEnvBase64Json } = require('env-base64-json');
import { getEnvBase64Json } from 'env-base64-json';
This package does not provide ES module exports; use CommonJS require().

Demonstrates programmatic usage: encode environment variables to base64 JSON and decode.

const { getEnvBase64Json } = require('env-base64-json'); const base64Env = getEnvBase64Json(); console.log(base64Env); // Decode it back const decoded = JSON.parse(Buffer.from(base64Env, 'base64').toString()); console.log(decoded);
env-base64-json --version
Debug
Known issues
gotchaPackage name in npm is 'env-base64-json', not 'super-test-json'.
fix
Use 'npm i env-base64-json' or 'npx env-base64-json'.
affects: all
gotchaThe package does not support ES modules (ESM). Using import will fail.
fix
Use require() for CommonJS imports.
affects: all
gotchaNo TypeScript type definitions are provided; TypeScript users may need to create .d.ts files.
fix
Manually declare module typings.
affects: all
Errors
Common errors & fixes
Cannot find module 'env-base64-json'
Package not installed.
fix
Run 'npm install env-base64-json'.
ERR_REQUIRE_ESM
Attempting to require() an ES module (though this package is CJS).
fix
Use require('env-base64-json') correctly.
Upgrade
Version history
1.7.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Resources
super-test-json — npm install super-test-json · libregistry