This package contains a @t3-oss/env-core
preset you can use in your project to manage your 0x57 environmental variables.
Install this package using your package manager of choice:
npm i @0x57/env
Then use it as a @ts-oss/env-core preset in your env.ts
file or similar:
import { createEnv } from "@t3-oss/env-core";
import { hex57 } from "@0x57/env";
export const env = createEnv({
// ...
// Extend the 0x57 preset.
extends: [hex57()],
});
env.HEX57_API_KEY; // string