@karmaniverous/get-dotenv
GitHub
Preparing search index...
dotenv/edit/types
Module dotenv/edit/types
Dotenv editor types (format-preserving).
Requirements addressed:
Provide a format-preserving dotenv edit surface (pure text pipeline + FS adapter).
Preserve comments/blank lines/unknown lines and separator spacing; support merge vs sync.
Deterministic target selection across getdotenv
paths
with optional template bootstrap.
Notes:
The parser intentionally preserves unknown lines verbatim rather than rejecting them.
The editor focuses on
.env
-style KEY=VALUE lines; anything not recognized is preserved as raw text.
Interfaces
DotenvAssignmentSegment
DotenvBareKeySegment
DotenvDocument
DotenvEditOptions
DotenvFs
DotenvKeySegmentBase
DotenvRawSegment
EditDotenvFileOptions
EditDotenvFileResult
Type Aliases
DotenvDuplicateKeyStrategy
DotenvEditMode
DotenvEolMode
DotenvNullBehavior
DotenvPathSearchOrder
DotenvSegment
DotenvTargetPrivacy
DotenvTargetScope
DotenvUndefinedBehavior
DotenvUpdateMap
DotenvUpdateValue
Functions
hasOwn
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Interfaces
Dotenv
Assignment
Segment
Dotenv
Bare
Key
Segment
Dotenv
Document
Dotenv
Edit
Options
Dotenv
Fs
Dotenv
Key
Segment
Base
Dotenv
Raw
Segment
Edit
Dotenv
File
Options
Edit
Dotenv
File
Result
Type Aliases
Dotenv
Duplicate
Key
Strategy
Dotenv
Edit
Mode
Dotenv
Eol
Mode
Dotenv
Null
Behavior
Dotenv
Path
Search
Order
Dotenv
Segment
Dotenv
Target
Privacy
Dotenv
Target
Scope
Dotenv
Undefined
Behavior
Dotenv
Update
Map
Dotenv
Update
Value
Functions
has
Own
GitHub
@karmaniverous/get-dotenv
Loading...
Dotenv editor types (format-preserving).
Requirements addressed:
pathswith optional template bootstrap.Notes:
.env-style KEY=VALUE lines; anything not recognized is preserved as raw text.