# simplejswidget

> Simple JS Widget

Latest version **1.0.1** (published 2020-04-28) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2020-04-28 |
| First published | 2020-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | VG |
| Maintainers | vgcif |

## Links

- npm: https://www.npmjs.com/package/simplejswidget
- Repository: https://github.com/VGCif/SimpleJSwidget
- Homepage: https://github.com/VGCif/SimpleJSwidget#readme
- Issues: https://github.com/VGCif/SimpleJSwidget/issues
- npm.io page: https://npm.io/package/simplejswidget

## Recent versions

- 1.0.1 (latest) — 2020-04-28
- 1.0.0 — 2020-04-28

## README

# SimpleJSwidget
Simple JS widget

## Inicia:
``` 
npm init
``` 

## Install:
``` 
npm install --save-dev webpack webpack-dev-server webpack-cli sass-loader node-sass css-loader style-loader postcss-loader uglifyjs-webpack-plugin html-webpack-plugin cssnano autoprefixer
```
```
npm install babel-loader @babel/core @babel/preset-env --save-dev
```

## Build
```
npm run build
```

## Publicar NPM package
You can publish your package on NPM in 3 easy steps.

Crea una cuenta en npmjs.com
Logueate en npm en tu terminal con:
```
npm login
```
Publicalo con: 
```
npm publish
```
## Publícalo en un CDN:
As a link (hosted on a CDN)
To achieve this, we will use unpkg. Unpkg is a free CDN that hosts your npm packages. Once published, you can get a link to your package using their service.

All you have to do is adding the following lines to your package.json:

```
  "unpkg": "dist/plugin-name.min.js",
  "files": [
    "dist"
  ],
```
The first line tells unpkg the file to serve, and the last 3 lines tell npm to add the dist folder in the package. (if you ignored it in the .gitignore file)

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