Skip to content

Remove format-util dependency #7

@JamesMessinger

Description

@JamesMessinger

Now that JavaScript supports template strings, it's usually not necessary to use a string-formatting function.

Drop the format-util dependency, but continue to support ono.formatter. On Node.js, ono.formatter will default to util.format. In web browsers, it will default to undefined, but users can set it to format-util or their own implementation if they wish.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions