@chengaoyuan/prepare
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

prepare

npm version install size NPM Downloads Build Status Coverage Status

Installation

$ npm install @chengaoyuan/prepare

Usage

import prepare from "@chengaoyuan/prepare";
console.log(prepare(":a#:b")({ a: "abc", b: 2 })); // out: abc#2
console.log(prepare("select * from user where uid=:uid")({ uid: 10 })); // out: select * from user where uid=10

Testing

$ npm test

/@chengaoyuan/prepare/

    Package Sidebar

    Install

    npm i @chengaoyuan/prepare

    Weekly Downloads

    12

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    6.51 kB

    Total Files

    6

    Last publish

    Collaborators

    • chengaoyuan