0.0.9 • Published 5 years ago

camel-data v0.0.9

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

camel-data

Format data to camel-case.

Installation

npm install --save camel-data

Usage

import camel from 'camel-data';

camel('module_id');

API

camel: function camel(input: camel, config?: IConfig): camel

type declare:(string Array or object is ok)

interface ICamel {
    [key: string]: camel;
}

type allCamel = string | ICamel;

type camel = allCamel | allCamel[];

// array enum string for
// array: never(default). no camel for array value in object.
// array: always. camel all the value for array in object.
// array: object. camel object type in array for array in object.
interface IConf {
    array: string;
}
0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago