Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
An Appygram connector
##Build Status
##Usage
var appygram = require('appygram');
...
//Make sure to use app.router; otherwise this middleware will not work
app.use(app.router);
appygram.setApiKey('your_api_key');
app.use(appygram.errorHandler);
appygram lets you add a user object to the trace it sends. It defaults to not sending a user object. To enable do
appygram.include_user = true;
It defaults to the location of req['user']
. To change this do
appygram.user_location = "user_session_obj"
Note appygram only will support the user location if it is in the req object.
To change the 'software' set with a trace object do
appygram.app_name = "my awesome express app"
Otherwise it will default to "node application"
If you need to reset the appygram object for some reason a method is exposed to handle this for you.
appygram.reset_to_default();
You can see some basic examples here.
###Basic sendFeedback Method
var appygram = require('appygram');
appygram.setApiKey('api_key');
appygram.sendFeedback({
name:'Will',
topic:'Feedback',
message:'I am sending an appygram!',
email:'w.laurance@gmail.com'
}, function(){
//done sending feedback
});
Most of the options for the express route are available to this method with the exception of the include user option.
FAQs
appygram module to talk to @appygram messaging service
The npm package appygram receives a total of 4 weekly downloads. As such, appygram popularity was classified as not popular.
We found that appygram 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.