mol_charset_ucf_lib 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.nojekyll ADDED
File without changes
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # $mol_charset_ucf
2
+
3
+ > [UCF](https://page.hyoo.ru/#!=1woher_nlk5d3) - Simple compact unicode text binarization format.
4
+
5
+ ![](https://habrastorage.org/webt/vt/dh/un/vtdhunkbk7tztverhjedla2bzhi.png)
6
+
7
+ # Usage
8
+
9
+ ```ts
10
+ bin = $mol_charset_ucf_encode( text )
11
+ text = $mol_charset_ucf_decode( bin )
12
+ ```
13
+
14
+ # Benchmarks
15
+
16
+ ## Encoding perf
17
+ ![](https://habrastorage.org/webt/4j/nh/iz/4jnhizmmtjbomjwq45_p8vhab-i.png)
18
+
19
+ ## Decoding perf
20
+ ![](https://habrastorage.org/webt/9u/xp/hb/9uxphba95qedw9wdyyd0rueesww.png)
package/node.audit.js ADDED
@@ -0,0 +1,2 @@
1
+ console.info( `%cplace: $mol_build
2
+ message: Audit passed`, 'color:forestgreen; font-weight:bolder' )
package/node.d.ts ADDED
@@ -0,0 +1,18 @@
1
+ declare let _$_: {
2
+ new (): {};
3
+ } & typeof globalThis;
4
+ declare class $ extends _$_ {
5
+ }
6
+ declare namespace $ {
7
+ export type $ = typeof $$;
8
+ export class $$ extends $ {
9
+ static $: $;
10
+ }
11
+ namespace $$ {
12
+ type $$ = $;
13
+ }
14
+ export {};
15
+ }
16
+
17
+ export = $;
18
+ //# sourceMappingURL=node.d.ts.map
package/node.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../mam.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":[null]}
package/node.deps.json ADDED
@@ -0,0 +1 @@
1
+ {"files":["mam.ts","LICENSE","README.md","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/charset/ucf/readme.md"],"mods":{},"deps_in":{"mol/charset/ucf":{"mol/charset/ucf/lib":-999},"mol/charset":{"mol/charset/ucf":-999},"mol":{"mol/charset":-999},"":{"mol":-999}},"deps_out":{"mol/charset/ucf/lib":{"mol/charset/ucf":-999},"mol/charset/ucf":{"mol/charset":-999},"mol/charset":{"mol":-999},"mol":{"":-999}},"sloc":{"ts":13,"LICENSE":113,"md":478,"js":9,"json":82,"tree":41,"CNAME":1},"deps":{"mol/charset/ucf/lib":{"..":-999},"mol/charset/ucf":{"..":-999},"mol/charset":{"..":-999},"mol":{"..":-999},"":{}}}
package/node.js ADDED
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var exports = void 0;
4
+
5
+ var $node = $node || {}
6
+ void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
7
+ ;
8
+ "use strict";
9
+ Error.stackTraceLimit = 50;
10
+ var $;
11
+ (function ($) {
12
+ })($ || ($ = {}));
13
+ module.exports = $;
14
+
15
+ ;
16
+
17
+ $node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
18
+ ;
19
+ "use strict"
20
+
21
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
22
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
24
+ else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
26
+ };
27
+
28
+ var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
29
+ $.$$ = $
30
+
31
+
32
+ //# sourceMappingURL=node.js.map
package/node.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["-","../../../../../mam.ts"],"names":[],"mappings":";;;AAAA;AACA;AACA;AACA;;ACHA,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;AAK3B,IAAU,CAAC,CAQV;AARD,WAAU,CAAC;AAQX,CAAC,EARS,CAAC,KAAD,CAAC,QAQV;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,CAAA;;;ADflB;AACA;AACA;;;;;;;;;;;;;","sourcesContent":[null,"Error.stackTraceLimit = 50;\n\ndeclare let _$_: { new(): {} } & typeof globalThis\ndeclare class $ extends _$_ {}\n\nnamespace $ {\n\texport type $ = typeof $$\n\texport declare class $$ extends $ {\n\t\tstatic $: $\n\t}\n\tnamespace $$ {\n\t\texport type $$ = $\n\t}\n}\n\nmodule.exports = $\n"]}
package/node.meta.tree ADDED
@@ -0,0 +1,21 @@
1
+ \/
2
+ pack bun git \https://github.com/spleekz/mam_bun.git
3
+ pack giper git \https://github.com/giper-dev/gd.git
4
+ pack hyoo git \https://github.com/hyoo-ru/mam_hyoo.git
5
+ pack iva git \https://github.com/thenesterov/mam_iva.git
6
+ pack jin git \https://github.com/nin-jin/mam_jin.git
7
+ pack lib git \https://github.com/hyoo-ru/mam_lib.git
8
+ pack mol git \https://github.com/hyoo-ru/mam_mol.git
9
+ pack milis git \https://github.com/Lyumih/milis.git
10
+ pack mpds git \https://github.com/mpds-io/mam_mpds.git
11
+ pack node git \https://github.com/hyoo-ru/mam_node.git
12
+ pack optimade git \https://github.com/mpds-io/mam_optimade.git
13
+ pack piterjs git \https://github.com/piterjs/piterjs.git
14
+ pack psb git \https://github.com/MolDevHack/psb.git
15
+ pack rise git \https://github.com/stan-donarise/mam_rise.git
16
+ pack yuf git \https://github.com/zerkalica/yuf.git
17
+ pack apxu git \https://github.com/ApxuTechTop/apxu
18
+ pack bog git \https://github.com/best-online-games/bog.git
19
+ pack mws git \https://github.com/reatailret/milkywaystd_mol.git
20
+ \/mol
21
+ pack icon git \https://github.com/nin-jin/mol_icon.git
package/node.mjs ADDED
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var exports = void 0;
4
+
5
+ var $node = $node || {}
6
+ void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
7
+ ;
8
+ "use strict";
9
+ Error.stackTraceLimit = 50;
10
+ var $;
11
+ (function ($) {
12
+ })($ || ($ = {}));
13
+ module.exports = $;
14
+
15
+ ;
16
+
17
+ $node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
18
+ ;
19
+ "use strict"
20
+
21
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
22
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
24
+ else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
26
+ };
27
+
28
+ var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
29
+ $.$$ = $
30
+
31
+
32
+ export default $
33
+ //# sourceMappingURL=node.js.map
package/node.test.js ADDED
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ "use strict";
3
+ Error.stackTraceLimit = 50;
4
+ var $;
5
+ (function ($) {
6
+ })($ || ($ = {}));
7
+ module.exports = $;
8
+
9
+ ;
10
+ "use strict"
11
+
12
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
15
+ else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
16
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
17
+ };
18
+
19
+ var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
20
+ $.$$ = $
21
+
22
+
23
+ //# sourceMappingURL=node.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../mam.ts"],"names":[],"mappings":";;AAAA,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;AAK3B,IAAU,CAAC,CAQV;AARD,WAAU,CAAC;AAQX,CAAC,EARS,CAAC,KAAD,CAAC,QAQV;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,CAAA;;;;;;;;;;;;;;;","sourcesContent":["Error.stackTraceLimit = 50;\n\ndeclare let _$_: { new(): {} } & typeof globalThis\ndeclare class $ extends _$_ {}\n\nnamespace $ {\n\texport type $ = typeof $$\n\texport declare class $$ extends $ {\n\t\tstatic $: $\n\t}\n\tnamespace $$ {\n\t\texport type $$ = $\n\t}\n}\n\nmodule.exports = $\n"]}
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "mol_charset_ucf_lib",
3
+ "version": "0.0.1",
4
+ "exports": {
5
+ "node": {
6
+ "import": "./node.mjs",
7
+ "default": "./node.js"
8
+ },
9
+ "types": "./web.d.ts",
10
+ "import": "./web.mjs",
11
+ "default": "./web.js"
12
+ },
13
+ "main": "./web.js",
14
+ "module": "./web.mjs",
15
+ "browser": "./web.js",
16
+ "types": "./web.d.ts",
17
+ "keywords": [
18
+ "$mol_charset_ucf_lib",
19
+ "$mol_charset_ucf",
20
+ "$mol_charset",
21
+ "$mol"
22
+ ],
23
+ "dependencies": {}
24
+ }
package/test.html ADDED
@@ -0,0 +1,11 @@
1
+ <!doctype html><meta charset="utf-8" /><html mol_view_root><body mol_view_root="$mol_charset_ucf_lib"><script src="web.js" charset="utf-8"></script>
2
+ <script src="/mol/build/client/client.js" charset="utf-8"></script>
3
+ <script src="web.test.js" charset="utf-8"></script>
4
+ <script>
5
+ addEventListener( 'load', ()=> setTimeout( ()=> {
6
+ const audit = document.createElement( 'script' )
7
+ audit.src = 'web.audit.js'
8
+ document.head.appendChild( audit )
9
+ }, 500 ) )
10
+ </script>
11
+
package/web.audit.js ADDED
@@ -0,0 +1,2 @@
1
+ console.info( `%cplace: $mol_build
2
+ message: Audit passed`, 'color:forestgreen; font-weight:bolder' )
package/web.css ADDED
@@ -0,0 +1 @@
1
+ /* CSS compiles into js bundle now! */
package/web.css.map ADDED
@@ -0,0 +1 @@
1
+ "/* CSS compiles into js bundle now! */"
package/web.d.ts ADDED
@@ -0,0 +1,18 @@
1
+ declare let _$_: {
2
+ new (): {};
3
+ } & typeof globalThis;
4
+ declare class $ extends _$_ {
5
+ }
6
+ declare namespace $ {
7
+ export type $ = typeof $$;
8
+ export class $$ extends $ {
9
+ static $: $;
10
+ }
11
+ namespace $$ {
12
+ type $$ = $;
13
+ }
14
+ export {};
15
+ }
16
+
17
+ export = $;
18
+ //# sourceMappingURL=web.d.ts.map
package/web.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../mam.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":[null]}
package/web.deps.json ADDED
@@ -0,0 +1 @@
1
+ {"files":["mam.ts","LICENSE","README.md","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/charset/ucf/readme.md"],"mods":{},"deps_in":{"mol/charset/ucf":{"mol/charset/ucf/lib":-999},"mol/charset":{"mol/charset/ucf":-999},"mol":{"mol/charset":-999},"":{"mol":-999}},"deps_out":{"mol/charset/ucf/lib":{"mol/charset/ucf":-999},"mol/charset/ucf":{"mol/charset":-999},"mol/charset":{"mol":-999},"mol":{"":-999}},"sloc":{"ts":13,"LICENSE":113,"md":478,"js":9,"json":82,"tree":41,"CNAME":1},"deps":{"mol/charset/ucf/lib":{"..":-999},"mol/charset/ucf":{"..":-999},"mol/charset":{"..":-999},"mol":{"..":-999},"":{}}}
package/web.js ADDED
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ function require( path ){ return $node[ path ] };
4
+
5
+ var $node = $node || {}
6
+ void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
7
+ ;
8
+ "use strict";
9
+ Error.stackTraceLimit = 50;
10
+ var $;
11
+ (function ($) {
12
+ })($ || ($ = {}));
13
+ module.exports = $;
14
+
15
+ ;
16
+
17
+ $node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
18
+ ;
19
+ "use strict"
20
+
21
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
22
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
24
+ else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
26
+ };
27
+
28
+ var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
29
+ $.$$ = $
30
+
31
+
32
+ //# sourceMappingURL=web.js.map
package/web.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["-","../../../../../mam.ts"],"names":[],"mappings":";;;AAAA;AACA;AACA;AACA;;ACHA,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;AAK3B,IAAU,CAAC,CAQV;AARD,WAAU,CAAC;AAQX,CAAC,EARS,CAAC,KAAD,CAAC,QAQV;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,CAAA;;;ADflB;AACA;AACA;;;;;;;;;;;;;","sourcesContent":[null,"Error.stackTraceLimit = 50;\n\ndeclare let _$_: { new(): {} } & typeof globalThis\ndeclare class $ extends _$_ {}\n\nnamespace $ {\n\texport type $ = typeof $$\n\texport declare class $$ extends $ {\n\t\tstatic $: $\n\t}\n\tnamespace $$ {\n\t\texport type $$ = $\n\t}\n}\n\nmodule.exports = $\n"]}
package/web.meta.tree ADDED
@@ -0,0 +1,21 @@
1
+ \/
2
+ pack bun git \https://github.com/spleekz/mam_bun.git
3
+ pack giper git \https://github.com/giper-dev/gd.git
4
+ pack hyoo git \https://github.com/hyoo-ru/mam_hyoo.git
5
+ pack iva git \https://github.com/thenesterov/mam_iva.git
6
+ pack jin git \https://github.com/nin-jin/mam_jin.git
7
+ pack lib git \https://github.com/hyoo-ru/mam_lib.git
8
+ pack mol git \https://github.com/hyoo-ru/mam_mol.git
9
+ pack milis git \https://github.com/Lyumih/milis.git
10
+ pack mpds git \https://github.com/mpds-io/mam_mpds.git
11
+ pack node git \https://github.com/hyoo-ru/mam_node.git
12
+ pack optimade git \https://github.com/mpds-io/mam_optimade.git
13
+ pack piterjs git \https://github.com/piterjs/piterjs.git
14
+ pack psb git \https://github.com/MolDevHack/psb.git
15
+ pack rise git \https://github.com/stan-donarise/mam_rise.git
16
+ pack yuf git \https://github.com/zerkalica/yuf.git
17
+ pack apxu git \https://github.com/ApxuTechTop/apxu
18
+ pack bog git \https://github.com/best-online-games/bog.git
19
+ pack mws git \https://github.com/reatailret/milkywaystd_mol.git
20
+ \/mol
21
+ pack icon git \https://github.com/nin-jin/mol_icon.git
package/web.mjs ADDED
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ function require( path ){ return $node[ path ] };
4
+
5
+ var $node = $node || {}
6
+ void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
7
+ ;
8
+ "use strict";
9
+ Error.stackTraceLimit = 50;
10
+ var $;
11
+ (function ($) {
12
+ })($ || ($ = {}));
13
+ module.exports = $;
14
+
15
+ ;
16
+
17
+ $node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
18
+ ;
19
+ "use strict"
20
+
21
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
22
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
24
+ else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
26
+ };
27
+
28
+ var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
29
+ $.$$ = $
30
+
31
+
32
+ export default $
33
+ //# sourceMappingURL=web.js.map
package/web.test.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ function require( path ){ return $node[ path ] }
3
+ //# sourceMappingURL=web.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":";","sourcesContent":[]}