webos-disk
v0.0.11
Published
All-in-js Web UI Framework, No jsx/template/vdom/css/html
Downloads
15
Readme
🚀 webos-term: HTML5 FileSystem-based web terminal window
中文 | Use Online | Changelog | Feedback Errors/Missing Points | Gitee | Message Board
0 Quick start
0.1 npm
Use WebOS to build your terminal window
npm i webos-term
import { createTerm } from 'webos-term';
createTerm({
container: 'body'
});
WebOS-Disk File System Operations JS Library
npm i webos-disk
For details, please refer to webos-disk.d.ts
0.2 cdn
<script src="https://cdn.jsdelivr.net/npm/webos-term"></script>
<script>
Webos.createTerm({
container: 'body'
});
</script>
1. webos-module
Run es6 in Broswer, support use npm packages
npm i webos-module
import { Application } from 'webos-module';
new Application({
code: `
import loadsh from 'loadsh';
console.log(loadsh.VERSION);
`
});
umd config
import { Application } from 'webos-module';
new Application({
code: `
import vue from 'Vue';
console.log(vue);
`,
iifeNameMap: {vue: 'Vue'}
});