Cargo Features

MagicString has no features set by default.

[dependencies]
magic_string = { version = "0.3.4", features = ["node-api"] }
node-api = napi, napi-derive

Affects magic_string::GenerateDecodedMapOptions, magic_string::OverwriteOptions

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

napi node-api?
napi-derive node-api?