dartenv 1.0.1 copy "dartenv: ^1.0.1" to clipboard
dartenv: ^1.0.1 copied to clipboard

outdated

Dart package to load environment variables quickly and conveniently.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dartenv

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dartenv: ^1.0.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dartenv/dartenv.dart';
2
likes
40
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

Dart package to load environment variables quickly and conveniently.

Homepage
Repository (GitHub)

Documentation

Documentation

License

MIT (license)

More

Packages that depend on dartenv