
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
next-core-object
Advanced tools
Augmented.js Next Core - Object and Events
Augmented Object
Base class for other classes to extend from
Supported options:
options object Object optionsInitialize the object
args ...anyReturns object Returns this context
Meta
The passed options
The Events
Trigger one or many events, firing all bound callbacks. Callbacks are
passed the same arguments as trigger is, apart from the event name
(unless you're listening on "all", which will cause your callback to
receive the true name of the event as the first argument).
name string The name of the eventargs any any number of additional argumentsReturns object Returns this context
Bind an event to only be triggered a single time. After the first time the callback is invoked, its listener will be removed. If multiple events are passed in using the space-separated syntax, the handler will fire once for each event, not once for a combination of all events.
name string The name of the eventcallback function The callback to evokecontext object The context of the callbackReturns object Returns this context
Remove one or many callbacks. If context is null, removes all
callbacks with that function. If callback is null, removes all
callbacks for the event. If name is null, removes all bound
callbacks for all events.
name string The name of the eventcallback function The callback to evokecontext object The context of the callbackReturns object Returns this context
Tell this object to stop listening to either specific events ... or to every object it's currently listening to.
obj object The object to stop listening toname string The name of the eventcallback function The callback to evokeReturns object Returns this context
Bind an event to a callback function. Passing "all" will bind
the callback to all events fired.
name string The name of the eventcallback function The callback to evokecontext object The context of the callbackReturns object Returns this context
Inversion-of-control versions of on. Tell this object to listen to
an event in another object... keeping track of what it's listening to
for easier unbinding later.
obj object The object to listening toname string The name of the eventcallback function The callback to evokeReturns object Returns this context
Inversion-of-control versions of once.
obj object The object to stop listening toname string The name of the eventcallback function The callback to evokeReturns object Returns this context
A set of configuration properties for the framework
LoggerLevel string The level of the framework internal loggerMessageBundle string the base name for messages in the framework (default: Messages)AsynchronousQueueTimeout number the default milisecond timeout (default: 2000)ApplicationInitProcessTimeout number the application init even timeout (default: 1000)Regular expression used to split event strings.
Iterates over the standard event, callback (as well as the fancy multiple
space-separated events "change blur", callback and jQuery-style event
maps {event: callback}).
iteratee function Function to iterateevents object Event objectname (string | object) Name of event or eventscallback function The function to callopts any Any other paramsGuard the listening argument from the public API.
obj object Object with eventsname (string | object) Name of event or eventscallback function The function to callcontext object The context of 'this'listening array Array of listenersThe reducing API that adds a callback to the events object.
events object Event objectname (string | object) Name of event or eventscallback function The function to calloptions object Any optionsThe reducing API that removes a callback from the events object.
events object Event objectname (string | object) Name of event or eventscallback function The function to calloptions object Any optionsHandles triggering the appropriate event callbacks.
objEvents object Event objectname (string | object) Name of event or eventscallback function The function to callargs any Any other argumentsInternal dispatch function for triggering events.
events array The eventsargs any Any otehr argumentsFAQs
The Augmented.js Next - Object and Events.
The npm package next-core-object receives a total of 12 weekly downloads. As such, next-core-object popularity was classified as not popular.
We found that next-core-object demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.