Socket
Socket
Sign inDemoInstall

camel-data

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    camel-data

Format data to camel-case.


Version published
Weekly downloads
9
Maintainers
1
Install size
46.7 kB
Created
Weekly downloads
 

Readme

Source

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;
}

FAQs

Last updated on 25 Jan 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc