Skip to content

codehivetx/uset

Repository files navigation

@codehivetx/uset

UnicodeSet, but in TypeScript.

Examples

import { USet } from '@codehivetx/uset';

const us = new USet('[abcdef]');
us.add('g');
us.toString(); // [abcdefg]

TODO

Does not support:

  • ranges
  • strings {} in the input text
  • union or interesection
  • backslashes
  • unicode properties
  • many more!

Further Reading

LICENSE

Apache-2.0, see LICENSE

Author

@srl295 / Steven R. Loomis of https://codehivetx.us

Releases

No releases published

Packages

No packages published