0.1.1 • Published 6 years ago
@lobsangnet/lobsang-formatter-schema v0.1.1
@lobsangnet/lobsang-formatter-schema
Formats a message after validation against a schema.
Badges
See lobsang.network for details.
Usage
const lobsangFormatterSchema = require('@lobsangnet/lobsang-formatter-schema')
const message = 'My message'
const topic = 'NEWS'
lobsangFormatterSchema(message, topic)
.then((formattedMessage) => console.log(formattedMessage))
License
Apache License. See LICENSE.txt.
0.1.1
6 years ago