https://github.com/justjavac/deno_string
Deno string utils.
https://github.com/justjavac/deno_string
deno deno-module deno-starter string
Last synced: about 2 months ago
JSON representation
Deno string utils.
- Host: GitHub
- URL: https://github.com/justjavac/deno_string
- Owner: justjavac
- License: mit
- Created: 2020-08-11T05:37:10.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-08-18T09:48:40.000Z (almost 4 years ago)
- Last Synced: 2025-03-07T05:05:09.967Z (over 1 year ago)
- Topics: deno, deno-module, deno-starter, string
- Language: TypeScript
- Homepage: https://deno.land/x/string
- Size: 18.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deno_string
Deno string utils.
## Usage
```ts
import { stripBom } from "https://deno.land/x/string/mod.ts";
stripBom("\uFEFFjustjavac");
// => 'justjavac'
```
or
```ts
import stripBom from "https://deno.land/x/string/stripBom.ts";
stripBom("\uFEFFjustjavac");
// => 'justjavac'
```
## Supported functions
| function | Description |
| --------------- | ----------------------------------------------- |
| [`stripBom`][1] | Strip UTF-8 byte order mark (BOM) from a string |
[1]: https://doc.deno.land/https/deno.land/x/string/mod.ts#stripBom
### License
[deno_string](https://github.com/justjavac/deno_string) is released under the
MIT License. See the bundled [LICENSE](./LICENSE) file for details.