# @thvx/monoscript

> The OOP framework for JavaScript and TypeScript.

Latest version **1.0.3** (published 2022-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @thvx/monoscript
pnpm add @thvx/monoscript
yarn add @thvx/monoscript
bun add @thvx/monoscript
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-03-19 |
| First published | 2022-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 28.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | THVX |
| Maintainers | thvx |
| Keywords | OOP, framework, box |

## Links

- npm: https://www.npmjs.com/package/@thvx/monoscript
- Repository: https://github.com/THVX/monoscript
- Homepage: https://github.com/THVX/monoscript#readme
- Issues: https://github.com/THVX/monoscript/issues
- npm.io page: https://npm.io/package/@thvx/monoscript

## Dependencies (3)

- [jquery](https://npm.io/package/jquery.md) ^3.6.0
- [typescript](https://npm.io/package/typescript.md) ^4.6.2
- [@types/node](https://npm.io/package/@types/node.md) ^17.0.21

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2022-03-19
- 1.0.2 — 2022-03-19
- 1.0.1 — 2022-03-19
- 1.0.0 — 2022-03-19

## README

# MonoScript

![MonoScript logo](./img/logo.png "MonoScript logo")

MonoScript is an OOP framework for TypeScript and JavaScript.

MonoScript uses the Box system for manipulating packages. Boxes are MonoScript packages, but what is special about them is that they don't use a package.json file, but instead, uses your TypeScript or JavaScript file !

### A 'Hello World !' program in MonoScript looks like this: 

````ts
import $ from MonoScript;

let MyFirstBox = new $.Box({  // Box creation 
    name: 'MyFirstBox',  // The name of your package
    author: 'your-name',  // The author's name (your name)
    description: 'A description', // The description of your package
    version: 1.0 // The version of your package: needs to be a number (int) 
});

MyFirstBox.println("Hello World !"); // Outputs: Hello World !
````

####  NOTE: $ is an alias for MonoScript.
# Start coding happily !

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