# red-agate-util

> red-agate utilities library.

Latest version **0.5.0** (published 2020-10-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install red-agate-util
pnpm add red-agate-util
yarn add red-agate-util
bun add red-agate-util
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2020-10-24 |
| First published | 2017-12-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=8.0 |
| Dependencies | 0 |
| Unpacked size | 335.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | shellyln |
| Maintainers | shellyln |

## Links

- npm: https://www.npmjs.com/package/red-agate-util
- Repository: https://github.com/shellyln/red-agate
- Homepage: https://shellyln.github.io/
- Issues: https://github.com/shellyln/red-agate/issues
- npm.io page: https://npm.io/package/red-agate-util

## Recent versions

- 0.5.0 (latest) — 2020-10-24
- 0.4.0 — 2020-07-28
- 0.3.0 — 2020-01-25
- 0.2.20 — 2019-11-30
- 0.2.19 — 2019-05-11
- 0.2.18 — 2019-03-31
- 0.2.17 — 2019-03-30
- 0.2.16 — 2019-01-29
- 0.2.15 — 2019-01-12
- 0.2.14 — 2018-11-04
- 0.2.13 — 2018-11-03
- 0.2.12 — 2018-10-09
- 0.2.11 — 2018-09-21
- 0.2.0 — 2018-08-25
- 0.1.2 — 2018-06-17
- … 9 more at https://npm.io/package/red-agate-util/versions

## README

# RedAgate's utilities library


[![npm](https://img.shields.io/npm/v/red-agate-util.svg)](https://www.npmjs.com/package/red-agate-util)
[![GitHub release](https://img.shields.io/github/release/shellyln/red-agate.svg)](https://github.com/shellyln/red-agate/releases)
[![Travis](https://img.shields.io/travis/shellyln/red-agate/master.svg)](https://travis-ci.org/shellyln/red-agate)
[![GitHub forks](https://img.shields.io/github/forks/shellyln/red-agate.svg?style=social&label=Fork)](https://github.com/shellyln/red-agate/fork)
[![GitHub stars](https://img.shields.io/github/stars/shellyln/red-agate.svg?style=social&label=Star)](https://github.com/shellyln/red-agate)


[RedAgate Project Home](https://github.com/shellyln/red-agate)


## Install

```bash
$ npm install red-agate-util --save
```


> Note
>
> To import this from your code, you need to use `babel` + `webpack` and import `red-agate-*/modules/*` paths.  
> (We have used the `import` statements for doing the [tree-shaking](https://webpack.js.org/guides/tree-shaking/).
> The `import` statements in the `.js` not the `.mjs` files cannot import from the vanilla node.js.)
>
> You can also import from the `.mjs` file on a node with the `--experimental-modules` option enabled.


> NOTICE:  
> Use with `webpack >= 5`
>
> If you get the error:
>
> ```
> Module not found: Error: Can't resolve '(importing/path/to/filename)'
> in '(path/to/node_modules/path/to/dirname)'
> Did you mean '(filename).js'?`
> ```
>
> Add following setting to your `webpack.config.js`.
>
> ```js
> {
>     test: /\.m?js/,
>     resolve: {
>         fullySpecified: false,
>     },
> },
> ```
>
> On `webpack >= 5`, the extension in the request is mandatory for it to be fully specified
> if the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"'.



## Licenses
[ISC](https://github.com/shellyln/red-agate-util/blob/master/LICENSE.md)  
Copyright (c) 2017, Shellyl_N and Authors.


### Credits of the remainder of the software which is not under the ISC.
----

src/convert/TextEncoding.ts#__encodeToUtf8Impl

Original Author:  
http://qiita.com/ukyo/items/1626defd020b2157e6bf  
(c) 2012 ukyo (http://qiita.com/ukyo, https://ukyoweb.com)


----
src/convert/TextEncoding.ts#__decodeUtf8Impl

Original Author:  
http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt  
utf.js - UTF-8 <=> UTF-16 convertion  
Copyright (C) 1999 Masanao Izumo <iz@onicos.co.jp>  
Version: 1.0  
LastModified: Dec 25 1999  
This library is free.  You can redistribute it and/or modify it.

----

---
_Source: https://npm.io/package/red-agate-util · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
