npmReadme top-level property

ConfigVariable<String?> npmReadme
final

The Markdown-formatted text of the README to include in the npm package.

By default, this loads the contents of the README.md file at the root of the repository.

Implementation

final npmReadme = InternalConfigVariable.fn<String?>(() =>
    File("README.md").existsSync()
        ? File("README.md").readAsStringSync()
        : null);