Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
/ tag-parser Public archive

Tag Parser to parse application commands using @spectera/tag-parser

License

Notifications You must be signed in to change notification settings

SpecteraLabs/tag-parser

Repository files navigation

@spectera/tag-parser

An advanced tags system for slash commands

Archived

This repo has been moved to Monorepo

Description

Advanced slash tags system for Tagger

Features

  • Written in Typescript and bundled with Rollup.
  • Supports both ES modules and CommonJS.

Installation

yarn add @spectera/tag-parser
# or npm install @spectera/tag-parser
# or pnpm add @spectera/tag-parser

Usage

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

About

Tag Parser to parse application commands using @spectera/tag-parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published