Skip to content

pgpv/rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

rename-property

Renames properties. Work in objects or arrays.

Install

$ npm install --save rename-property

Usage

const rename = require('rename-property');

thisismyobject = { thisisaproperty: "abc" };
rename.property( thisismyobject, "thisisaproperty", "thisisanotherproperty" );

-> thisismyobject = { thisisanotherproperty: "abc" }

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published