# @slup/common

> Commons utilities for the Slup framework

Latest version **0.5.1** (published 2018-02-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @slup/common
pnpm add @slup/common
yarn add @slup/common
bun add @slup/common
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.1 |
| Published | 2018-02-05 |
| First published | 2017-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Luca |
| Maintainers | gejsi, lucat1 |

## Links

- npm: https://www.npmjs.com/package/@slup/common
- Repository: https://github.com/slupjs/slup/tree/master/packages/Common
- npm.io page: https://npm.io/package/@slup/common

## Recent versions

- 0.5.1 (latest) — 2018-02-05
- 0.3.0-alpha.420f1ff5 (canary) — 2017-10-22
- 0.5.0 — 2018-01-02
- 0.1.0-alpha.420f1ff5 — 2017-10-22

## README

<h1 align='center'>
  <img src='http://svgshare.com/i/344.svg' width='65%' />

  <h5 align='center'>Sets of material design components built with web technologies</h5>

  <h5 align='center'>
    <a href="https://lernajs.io/">
      <img alt="Lerna" src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg">
    </a>
    <a href="https://travis-ci.org/slupjs/slup">
      <img alt="Build Status" src="https://travis-ci.org/slupjs/slup.svg?branch=master">
    </a>
    <a>
      <img alt="License" src="https://img.shields.io/github/license/slupjs/slup.svg">
    </a>
  </h5>
</h1>

> **NOTE: The library isn't complete yet**

Slup was created by our desire for a performing UI framework following strictly [Material Design guidelines](https://material.io/guidelines). It packs lightweight components, based on the blazing-fast React-like library [Inferno](https://infernojs.org) and our own styling method inspired by the well known styled-component, but rewritten in a smaller and lightweight fashion. The speed and small size of our packages provides some of the most gorgeous components in the design history with a lightweight and performant approach, perfect for your next PWA or web application.

Plus we've also got an amazing support provided by [Typescript](https://www.typescriptlang.org/)(the most loved `compile-to-javascript` language from the community)!

## Philosophy

* High Performance
* Meticulousness
* Beautiful and well commented(understandable) code
* Be as indipendent from other libraries as possible
* Enhance compatibility with other frameworks like (p)react [NOT YET]
* Small size and small footprint

## Getting Started

Slup is divided in **packages**: each package represents a corresponding [Material Design component](https://material.io/guidelines/components), this means that each package can be found at `@slup/<package>` and installed separately improving both **size and speed** of your final bundle.
Here's how:

## Installation

Any slup package can be installed whit [NPM](http://npmjs.com/) as follows:
```bash
npm i -s @slup/<package>
```

## Running the demo
> NOTE: This process requires you to have installed [yarn](https://yarnpkg.com/) globally.

- To kick things off, clone the demo and enter that directory:
```bash
git clone https://github.com/slupjs/slup && cd slup
```

- Install packages and run the demo:
```bash
yarn # Install the dependencies and build all the packages
cd packages/Site # Go into the demo's site folder
yarn compile:build # Build the javascritp SSR and client
yarn start # Start the demo server
```

## Development setup
> NOTE: This process requires you to have installed [yarn](https://yarnpkg.com/) globally.

- To kick things off, clone the demo and enter that directory:
```bash
git clone https://github.com/slupjs/slup && cd slup
```

- Install packages:
```bash
yarn # Install the dependencies and build all the packages
```

- Then move onto the demo's folder and start the watcher and the server:
```bash
cd packages/Site # Go into the demo's site folder

# In a first terminal: 
yarn compile:watch # Bundle the application watching for changes

# In a second terminal:
yarn start # Start the demo server
```

Now feel free to make your changes and create new [PRs](https://github.com/Gejsi/Material/pulls) 🎉

## License

This project is licensed under the MIT License

## Authors

* LucaT
* Gejsi

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