1.0.0 • Published 2 years ago

@tipy/convert v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Convert

GitHub version

Convert has a set of convertion utils functions, check the api to see what it is available.

Install

yarn add @tipy/convert

How to use

import { convertSnakeToCamel } from '@tipy/convert';

convertSnakeToCamel({ first_name: 'Gus' });

API

Function nameParametersDescription
convertSnakeToCamelitem: objectit converts the object's attributes from snake_case to camelCase, you can also pass an array. string, number and other primitives will be returned as they are.
1.0.0

2 years ago