1.1.1 • Published 3 years ago

@hexlet/tagged-types v1.1.1

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

js-types

github action status

Install

npm install @hexlet/tagged-types

Usage example

import { attach, typeTag, contents } from '@hexlet/tagged-types';

const data = 'text, pair, list or others';
const tag = attach('typeOfTag', data);
// ('typeOfTag', 'text, pair, list or others')

typeTag(tag); // 'typeOfTag'
contents(tag); // 'text, pair, list or others'

For more information, see the Full Documentation

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet (in Russian).

1.1.1

3 years ago

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago