Skip to content

ossgroupp/content-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

OSSPIM Content Transformer

Validation, parsing and transforming for OSSPIM Content. Makes it easy to build React Commerce solutions with Product Information Management powered by OSSPIM that enable Fast Ecommerce API.

Install

yarn add @osspim/content-transformer

Validate

import validator from '@osspim/content-transformer';

const isValid = validator.isModelValid(myModel);
const validationDetails = validator.isModelValidVerbose(myModel);

toHTML

import toHTML from '@osspim/content-transformer/toHTML';

toHtml(contentModel);

toText

import toText from '@osspim/content-transformer/toText';

toText(contentModel);

React

See @osspim/react-content-transformer

content-transformer

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published