# sketch-constants

> A set of common Sketch constants used for plugins development.

Latest version **1.1.0** (published 2017-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install sketch-constants
pnpm add sketch-constants
yarn add sketch-constants
bun add sketch-constants
```

## 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.1.0 |
| Published | 2017-06-16 |
| First published | 2016-02-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 29 |
| Author | Andrey Shakhmin |
| Maintainers | turbobabr |
| Keywords | sketch, sketchapp, plugin |

## Links

- npm: https://www.npmjs.com/package/sketch-constants
- Repository: https://github.com/turbobabr/sketch-constants
- Homepage: https://github.com/turbobabr/sketch-constants#readme
- Issues: https://github.com/turbobabr/sketch-constants/issues
- npm.io page: https://npm.io/package/sketch-constants

## Recent versions

- 1.1.0 (latest) — 2017-06-16
- 1.0.2 — 2016-02-04
- 1.0.1 — 2016-02-04
- 1.0.0 — 2016-02-04

## README

# sketch-constants

Convenient npm package with common constants used in [SketchApp](https://sketchapp.com/) plugins.

### Installation

To install the latest version:

```
npm install --save sketch-constants
```

### Usage

Sample usage via JavaScript ES6 syntax:
```javascript
import { FillType, GradientType } from 'sketch-constants';

layer.style().fill().fillType = FillType.Gradient;
layer.style().fill().gradient().gradientType = GradientType.Radial;
```

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