This repo has been moved to Monorepo
Advanced slash tags system for Tagger
- Written in Typescript and bundled with Rollup.
- Supports both ES modules and CommonJS.
yarn add @spectera/tag-parser
# or npm install @spectera/tag-parser
# or pnpm add @spectera/tag-parser
This is some basic usage of the tag parser.
const { TagParser } = require('@spectera/tag-parser');
const tagparser = new TagParser();
tagparser.parseResponse('Hello {{user}}!', { user: 'Spectera' });
// => 'Hello Spectera!'
import { TagParser } from '@spectera/tag-parser';
const tagparser = new TagParser();
tagparser.parseResponse('Hello {{user}}!', { user: 'Spectera' });
// => 'Hello Spectera!'
Much more to be completed in this readme