Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@automapper/classes
Advanced tools
This is the official plugin from @automapper
to work with TS/ES6 Class
npm i @automapper/classes
or with yarn
:
yarn add @automapper/classes
peerDependencies
@automapper/classes
depends on @automapper/core
, @automapper/types
, and reflect-metadata
.
npm i @automapper/core reflect-metadata
npm i --save-dev @automapper/types
or with yarn
:
yarn add @automapper/core reflect-metadata
yarn add --dev @automapper/types
@automapper/classes
provides classes
as a MapPluginInitializer
. Pass classes
to createMapper
to create
a Mapper
that uses classes
plugin.
import { classes } from '@automapper/classes';
const mapper = createMapper({
...,
pluginInitializer: classes
})
mapper.createMap(User, UserVm);
mapper.map(user, UserVm, User);
Read more about this plugin on classes documentation
FAQs
AutoMapper TypeScript Classes strategy
The npm package @automapper/classes receives a total of 51,504 weekly downloads. As such, @automapper/classes popularity was classified as popular.
We found that @automapper/classes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.