1.1.0 • Published 3 years ago

@paintgist/minipaint v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Mini Paint

A fun package that keeps track of popular minature painting paint ranges as well as some useful painting techniques.

Contribution

Contributions are welcome! Please take a look at issues for ideas on how to contribute to the package.

API

MethodDescriptionReturns
getRawPaintListByRangereturns an array of specified paint rangeArray
getRawTechniquesreturns an array of painting techniquesArray
fetchAllPaintsreturns an array of all paintsArray
fetchAllTechniquesreturns an array of all painting techniquesArray
fetchPaintByIdreturns an object containing paint informationObject
fetchTechniqueByIdreturns an object containing technique informationObject

Example

import { fetchPaintById } from '@paintgist/minipaint';

const paint = fetchPaintById('7c235d3a-1fc5-4753-b81c-bf8c6aed021d');

console.log(paint.name);

// Troll Slayer Orange