
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
angular-data-mapper
Advanced tools
Visual data mapping components for Angular - drag-and-drop field mapping with transformations, schema editor with JSON Schema export
Visual data mapping components for Angular applications. Create field mappings between source and target schemas with drag-and-drop, apply transformations, and define JSON schemas visually.
data-mapper)schema-editor)npm install @expeed/ngx-data-mapper
npm install @angular/cdk @angular/material
import { Component } from '@angular/core';
import { DataMapperComponent, JsonSchema, FieldMapping } from '@expeed/ngx-data-mapper';
@Component({
standalone: true,
imports: [DataMapperComponent],
template: `
<data-mapper
[sourceSchema]="sourceSchema"
[targetSchema]="targetSchema"
[sampleData]="sampleData"
(mappingsChange)="onMappingsChange($event)">
</data-mapper>
`
})
export class MyComponent {
sourceSchema: JsonSchema = {
name: 'Source',
fields: [
{ id: '1', name: 'firstName', type: 'string', path: 'firstName' },
{ id: '2', name: 'lastName', type: 'string', path: 'lastName' },
]
};
targetSchema: JsonSchema = {
name: 'Target',
fields: [
{ id: '1', name: 'fullName', type: 'string', path: 'fullName' },
]
};
sampleData = { firstName: 'John', lastName: 'Doe' };
onMappingsChange(mappings: FieldMapping[]) {
console.log('Mappings:', mappings);
}
}
import { Component } from '@angular/core';
import { SchemaEditorComponent, SchemaDefinition } from '@expeed/ngx-data-mapper';
@Component({
standalone: true,
imports: [SchemaEditorComponent],
template: `
<schema-editor
[schema]="schema"
(schemaChange)="onSchemaChange($event)">
</schema-editor>
`
})
export class MyComponent {
schema: SchemaDefinition = { name: 'Customer', fields: [] };
onSchemaChange(updated: SchemaDefinition) {
console.log('Schema:', updated);
}
}
data-mapper {
--data-mapper-bg: #f8fafc;
--data-mapper-panel-bg: #ffffff;
--data-mapper-text-primary: #1e293b;
--data-mapper-text-secondary: #64748b;
--data-mapper-accent-primary: #6366f1;
--data-mapper-connector-color: #6366f1;
}
data-mapper {
--data-mapper-bg: #1e293b;
--data-mapper-panel-bg: #334155;
--data-mapper-text-primary: #f1f5f9;
--data-mapper-text-secondary: #cbd5e1;
--data-mapper-accent-primary: #818cf8;
--data-mapper-connector-color: #818cf8;
}
| Input | Type | Description |
|---|---|---|
sourceSchema | JsonSchema | Source schema for mapping |
targetSchema | JsonSchema | Target schema for mapping |
sampleData | Record<string, unknown> | Sample data for preview |
| Output | Type | Description |
|---|---|---|
mappingsChange | EventEmitter<FieldMapping[]> | Emits when mappings change |
| Method | Description |
|---|---|
importMappings(json: string) | Import mappings from JSON |
clearAllMappings() | Remove all mappings |
| Input | Type | Description |
|---|---|---|
schema | SchemaDefinition | Schema to edit |
| Output | Type | Description |
|---|---|---|
schemaChange | EventEmitter<SchemaDefinition> | Emits on any change |
DataMapperComponentSchemaEditorComponentSchemaTreeComponentTransformationPopoverComponentArrayFilterModalComponentArraySelectorModalComponentDefaultValuePopoverComponentMappingServiceTransformationServiceSvgConnectorServiceSchemaParserServiceJsonSchema, SchemaField, FieldMappingSchemaDefinition, EditorFieldTransformationConfig, ArrayMapping, ArrayFilterConfigSchemaDocument, ModelRegistry# Clone repository
git clone https://github.com/Expeed-Software/angular-data-mapper.git
cd angular-data-mapper
npm install
# Build library
npm run build:lib
# Start demo app
npm start
Apache License 2.0
FAQs
Visual data mapping components for Angular - drag-and-drop field mapping with transformations, schema editor with JSON Schema export
The npm package angular-data-mapper receives a total of 2 weekly downloads. As such, angular-data-mapper popularity was classified as not popular.
We found that angular-data-mapper 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.