3.0.0 • Published 1 year ago

@bconnorwhite/environment v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

If I should maintain this repo, please ⭐️

DM me on Twitter if you have questions or suggestions.


Installation

yarn add @bconnorwhite/environment
npm install @bconnorwhite/environment
pnpm add @bconnorwhite/environment

Usage

import environment, { inProduction, inDevelopment, isProduction, isDevelopment, getEnvironment } from "@bconnorwhite/environment";

// environment: "development" | "production";
// inProduction: boolean;
// inDevelopment: boolean;
// getEnvironment: (env?: string) => "development" | "production";
// isProduction: (env?: string) => boolean;
// isDevelopment: (env?: string) => boolean;
  • autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.

MIT

3.0.0

1 year ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago