
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
An object-driven programming framework, that uses behaviour-driven objects for building use cases.

OBJY Objects:
Node
npm install objy
Browser
<script src="https://cdn.jsdelivr.net/npm/objy/dist/browser.js">
Programming on OBJY is done in two simple steps:
// 1. Define Object Family
OBJY.define({
name: "object", // singular constructor name
pluralName: "objects" // plural constructor name
})
// 2. Use objects
OBJY.object({
expired: false,
expiration_date: {
date: "12/31/2022",
action: () => {
obj.setProperty('expired', true).update();
}
},
maintenance: {
interval: "1PY",
action: () => {
console.log('annually maintenence');
}
}
})
Objects are handled using an OBJY wrapper: OBJY.object().
// Create an object (onCreate handlers will trigger)
var myObj = OBJY.object({
name: "Hello"
}).add();
// Update an object (onChange handlers will trigger)
myObj.name = "Hello World";
// or use the built-in methods:
myObj.addProperty('color', 'blue');
// Delete an object (onDelete handlers will trigger)
myObj.remove();
Events can either have a date or an interval. OBJY takes care of running the associated action.
OBJY.object({
...
expiration_date: {
date: "12/31/2022",
action: () => {
obj.setProperty('expired', true).update();
}
},
maintenance: {
interval: "1PY",
action: () => {
console.log('annually maintenence');
}
}
})
Use onCreate, onChange or onDelete to capture these events and OBJY runs a custom action.
OBJY.object({
...
onDelete: {
quit: {
action: () => {
console.log('Im now gone...')
}}
}
})
// first object
OBJY.object({
_id: 123,
type: "yogurt"
})
// second object that inherits from first object
// inherit from one or more other objects using their id
OBJY.object({
...
inherits: [123],
// type: "yogurt" and all other props are present here
})
Every object you create lives inside the OBJY instance. For accessing and working with all your objects, OBJY offers the following built-in query API:
// Query all active objects
OBJY.objects({json query}).get(objects => {
console.log(objects) // an array containing the matched objects
})
OBJY.define({
...
// Attach your own storage (can be anything that supports crud)
storage: OBJY.customStorage({
add: () => {},
getById: () => {},
...
}),
// Customize, how actions are executed
processor: OBJY.customProcessor({
execute: (action) => {},
...
}),
// Observe events yourself
observer: OBJY.customObserver({
run: () => {}
})
})
FAQs
A JavaScript framework for building object-driven applications
The npm package objy receives a total of 23 weekly downloads. As such, objy popularity was classified as not popular.
We found that objy 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.