Skip to content

Utility to copy properties from one source to another based on schemas

License

Notifications You must be signed in to change notification settings

jesusvilla/lighter-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lighter-Mapper

Utility to copy properties from one source to another based on schemas, It was born as an inspiration for object-mapper, so it can be replaced using the same scheme.

Features

  • Object-mapper support
  • Native Javascript
  • Zero dependencies

Installation (coming soon...)

Requires Node.js v12+ to run.

Install the dependencies and start the server.

npm i lighter-mapper

Benchmark

  • Machine: linux x64 | 16 CPUs | 16GB Mem
  • Node: v12.18.4
  • Run: Mon Jun 04 2021 05:20:01 GMT+0000 (Coordinated Universal Time)
  • Method: npm run bench
Library ops/sec delta runs sampled
object-mapper 296 601 ±1.50% 87
lighter-mapper#execute 3 594 191 ±1.51% 86
lighter-mapper#compiler 4 152 328 ±0.84% 91

License

MIT

About

Utility to copy properties from one source to another based on schemas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published