0.0.5 • Published 3 years ago

rev-strings v0.0.5

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
3 years ago

Overview

The rev-strings package is a library to facilitate string composition and interpretation.

Capabilities

  • includes common regex patterns (phone, zip, etc)
  • quickly compose query strings on the fly

Table of Contents

Getting Started

Install

$ npm install rev-strings

Usage Example

Suppose we have a UI that needs to append an object as a query string.

import { rStrings } from 'rev-strings';

const query = { userId: 12 };
const result = rStrings.toQueryString(query);

// result = "?userId=12"
0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago