Socket
Socket
Sign inDemoInstall

uppercase-keys-object

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    uppercase-keys-object

Uppercase the keys of an object


Version published
Weekly downloads
65
increased by170.83%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

uppercase-keys-object

Uppercase the keys of an object. It is useful for oracledb.

Installation

$ npm install --save uppercase-keys-object

or

$ yarn add uppercase-keys-object

Usage

const upperKeys = require('uppercase-keys-object');

const employee = {
	ID: 127,
	FIRST_Name: 'Huynh',
	last_NAME: 'Ha',
	salary: 1500
};

const res = upperKeys(employee);

console.log(res);

// { ID: 127, FIRST_NAME: 'Huynh', LAST_NAME: 'Ha', SALARY: 1500 }

API

upperKeys(object)

Returns a new object which keys is/are uppercased.

lowercase-keys-object

Keywords

FAQs

Last updated on 05 Mar 2018

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