0.5.0 • Published 4 years ago

red-agate-util v0.5.0

Weekly downloads
186
License
ISC
Repository
github
Last release
4 years ago

RedAgate's utilities library

npm GitHub release Travis GitHub forks GitHub stars

RedAgate Project Home

Install

$ 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. 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.

{
    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
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.


0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.20

4 years ago

0.2.19

5 years ago

0.2.18

5 years ago

0.2.17

5 years ago

0.2.16

5 years ago

0.2.15

5 years ago

0.2.14

6 years ago

0.2.13

6 years ago

0.2.12

6 years ago

0.2.11

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.13

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago