{{item}}
InstallClose
"Javascript objects with behaviour"

OBJY is a JS framework that uses behaviour-driven objects for building use cases.

Node

npm install objy

Browser

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

EXAMPLES:
{{item.name}}
+ more


* Use abstract objects, that have a behaviour
* Objects live in-instance or in third-party technologies
* Leverage inheritance, events, actions and more
Quick start

1. Install

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

2. Define your wrapper
OBJY.define({
    name: "object",
    pluralName: "objects"
})


3. Build objects
OBJY.object({
    ...
    expires: {
       date: "2020-10-10",
       action: "this.remove()"
    }
})


4. Handle your objects
let myObj = OBJY.object({name: 'Anakin'})

myObj.setProperty('name', 'Luke')

myObj.type = 'person'

myObj.remove()


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