# omnicron

> Minimal library to organize webpages

Latest version **1.0.7** (published 2018-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install omnicron
pnpm add omnicron
yarn add omnicron
bun add omnicron
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2018-02-11 |
| First published | 2018-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Matheus Soares |
| Maintainers | mslacerda |
| Keywords | Omnicron, js, library, libray, javascript, minimal, light |

## Links

- npm: https://www.npmjs.com/package/omnicron
- Repository: https://github.com/MSLacerda/Omnicron
- Homepage: https://github.com/MSLacerda/Omnicron#readme
- Issues: https://github.com/MSLacerda/Omnicron/issues
- npm.io page: https://npm.io/package/omnicron

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.7 (latest) — 2018-02-11
- 1.0.6 — 2018-02-11
- 1.0.5 — 2018-02-11
- 1.0.4 — 2018-02-11
- 1.0.3 — 2018-02-11
- 1.0.2 — 2018-02-11
- 1.0.1 — 2018-02-11
- 1.0.0 — 2018-02-11

## README

# Omnicron
Light and minimal library to organize js of webpages

## Source Code 

 Cloning

``git clone https://github.com/MSLacerda/Omnicron`` 

 Install dependencies

``cd Omnicron`` 

``npm install`` 

Dist folder has a version.

## Usage

import omnicron.min.js into your html project.

`` <script src="dist/omni.min.js"></script> ``

### Create omnicron element
```
  <om-cron om-name="burning">

  </om-cron>
```

### Create new App

```
    (() => {
      new Omnicron({
        app: 'burning',
        run: () => {

        },
        render: {
          url: 'tests/files/file.html',
          onSuccess: () => {
            console.log("rendered!")
          }
        }
      });
    })()

``` 

## Methods and Attributes

| Method/Attr   | Information                   | Types    |
| ------------- |:-----------------------------:| --------:|
| run           | Will execute if the app exists| Function |
| app           |Name of the app, need be the same on app Tag | String |
| before           | Will execute before the run executes| Function |
| render           | Render a element inside the app | Object |
| render.url           | Path of the template | String |
| render.onSuccess           | Will execute when rendering is complete | Function |

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