![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
heap-server
Advanced tools
Heap Analytics server-side events helper
Install the module with: npm install heap-server
More info on the Heap documentation site
The Heap server side API currently has two internal methods:
track
identify
When you send along an event
property with the heap.push()
method you will be using the internal track
method. If you are not sending an event along you're using the internal identify
method.
var heap = require('heap-server')('--your-heap-app-id--');
heap.push({
identity: "john@doe.org",
event: "Custom event name that shows up in Heap Analytics",
properties: { // extra event properties are optional
"foo" : "bar"
}
}, function(err, foo){
if(err){
return;
}
console.log(foo);
});
// or no callback
heap.push({
identity: "john@doe.org",
event: "Custom event name that shows up in Heap Analytics",
properties: {
"foo" : "bar"
}
});
You can also use this to update properties for an existing user.
var heap = require('heap-server')('--your-heap-app-id--');
heap.push({
identity: 'john@doe.orgfoobar',
properties: {
'foo': 'bar',
'random': 'bogus'
}
},
function(err, result){
if(err){
return;
}
console.log(result);
});
// or no callback
heap.push({
identity: 'john@doe.orgfoobar',
properties: {
'foo': 'bar',
'random': 'bogus'
}
});
FAQs
Heap Analytics server-side events helper
The npm package heap-server receives a total of 5 weekly downloads. As such, heap-server popularity was classified as not popular.
We found that heap-server 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.