REST API ORM for Angular 2+. Version 0.0.5, last updated in 2017, no longer actively maintained. Provides a fluent, resource-based interface for CRUD operations on RESTful endpoints with support for mocking. Based on ng2-rest, designed for AngularClass/webpack-starter and Angular CLI. Offers SimpleResource and Resource patterns, allowing model definitions and chained query building. Includes mocking capabilities for testing. Not compatible with Angular 4+ or modern versions; users should consider alternatives like @ngx-resource/core or Angular's HttpClient with RxJS.
npm install ng-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic setup: import Resource, register base URL, add a model endpoint, and perform a GET query.
Use import { Resource } from 'ng-orm/ng-orm'Migrate to @ngx-resource/core or use Angular HttpClient directly
Import Resource class for services, add to imports array only if using Resource as Angular module
import { Subscription } from 'rxjs'Use import { Resource } from 'ng-orm/ng-orm'Call Resource.map('API', 'url') after importing Resource classEither import the Resource as a module or only use it as a service, not both