Skip to content

[Replacement]: strip-bom-string #612

@gameroman

Description

@gameroman

Package to replace

strip-bom-string

Suggested replacement(s)

function stripBom(str) {
  return str.startsWith('\ufeff') ? str.slice(1) : str
}

Manifest type

micro-utility (tiny utility replaceable with native code or removal)

Rationale

A simple util

Availability

No response

Code example (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedUsed to signal if a suggested replacement has been accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions