std/dotenv alias

This commit is contained in:
Alex Gleason
2024-05-01 16:22:55 -05:00
parent c4d8ad2368
commit ea665eed12
4 changed files with 9 additions and 3 deletions

View File

@@ -1,10 +1,9 @@
import url from 'node:url';
import * as dotenv from '@std/dotenv';
import { getPublicKey, nip19 } from 'nostr-tools';
import { z } from 'zod';
import { dotenv } from '@/deps.ts';
/** Load environment config from `.env` */
await dotenv.load({
export: true,

View File

@@ -27,7 +27,6 @@ export {
SqliteError,
} from 'https://raw.githubusercontent.com/alexgleason/deno-sqlite/325f66d8c395e7f6f5ee78ebfa42a0eeea4a942b/mod.ts';
export { Database as DenoSqlite3 } from 'https://deno.land/x/sqlite3@0.9.1/mod.ts';
export * as dotenv from 'https://deno.land/std@0.198.0/dotenv/mod.ts';
export * as cron from 'https://deno.land/x/deno_cron@v1.0.0/cron.ts';
export { S3Client } from 'https://deno.land/x/s3_lite_client@0.6.1/mod.ts';
export { default as IpfsHash } from 'npm:ipfs-only-hash@^4.0.0';