1.0.1 • Published 4 years ago

@vera-fashion-app/taxonomy v1.0.1

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

Installation

npm install @vera-fashion-app/taxonomy

Usage

const vera = require('@vera-fashion-app/taxonomy')

API

Get grouped attributes by category:

vera.getGroupedAttributesByCategory('tops')

get all attributes for category :

vera.getAllAttributesByCategory('tops')

Get attributes values :

vera.attributeValues("footwear", "toe_type")

Get drawers list :

console.log(vera.drawers)

Get colors list :

console.log(vera.colors)

Get color value :

vera.getColorHexByName('black')

Get necklines list :

vera.necklines

Get patterns list:

vera.patterns
1.0.1

4 years ago

1.0.0

4 years ago