Develop by building behaviour-driven objects that do the work.

1. Install

npm install objy
<script src="https://cdn.jsdelivr.net/npm/objy/dist/browser.js" />

What OBJY is all about:

    expires: {
       date: "2020-10-10",
       action: "this.remove()"

add object { ‚
    properties: {
        expires: {
          date: "2020-10-10",
          action: "self.expired=true"

Objects that live

Represent anything with dynamic objects. Define behaviours to make them alive. OBJY will do the rest.

Custom object wrappers

Define, where your objects are stored, how they are processed and observed using an open and extendable mapper ecosystem.
    name: "asset",
    pluralName: "assets",
    storage: new MongoMapper('localhost'),
    processor: new vmMapper(),
    observer: new intervalMapper()

define objectFamily {
    name: "asset",
    pluralName: "assets",
    storage: new MongoMapper('localhost'),
    processor: new vmMapper()

object({name: 'Anakin'}).add()

objects({name: 'Anakin'}).get()

object({name: 'Anakin Skywalker'}).update()


add object {name: "Anything"}

get objects {name: "Anything"}

get object 123

delete object 123

Simple interface

Create, Read, Update, Delete. That's all it takes, the rest is handled by OBJY

+ more powerful, yet simple features
Inheritance, User management, Acces-control, Pluggable mappers (MDB, InMem, Redis), Custom actions
Runs on...
Node, Browsers
OBJY is open source and released under the MIT License. Copyright (c) OBJY collaborators