@mulsense/xnew
v0.3.2
Published
JavaScript Library for Component-Oriented Programming.
Maintainers
Keywords
Readme
xnew
xnew is a JavaScript / TypeScript library for component-oriented programming,
providing a flexible architecture well-suited for applications with dynamic scenes and games.
Setup
Via CDN
Include the following script in your HTML file:
<script src="https://unpkg.com/@mulsense/[email protected]/dist/xnew.js"></script>Via CDN (ESM)
Use the ES module version with an import map:
<script type="importmap">
{
"imports": {
"@mulsense/xnew": "https://unpkg.com/@mulsense/[email protected]/dist/xnew.mjs"
}
}
</script>
<script type="module">
import xnew from '@mulsense/xnew';
// Your code here
</script>Via npm
Install xnew using npm:
npm install @mulsense/[email protected]Then import it in your JavaScript file:
import xnew from '@mulsense/xnew';