
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lifecycle-node
Advanced tools
npm install lifecycle-node
Check out the official documentation at https://www.lifecycle.io/docs/campaign.
Identify and Track users via your lifecycle instance.
Identify users to create, add, and update attributes to user data stored with Lifecycle.
var lifecycle = require('lifecycle-node');
lifecycle.identify(uniqueId, [defaultAttributes], [extraAttributes], callback);
uniqueId (String): required
Your unique identifier for the user
defaultAttributes (Object): optional
first_name (String)
The first name of the user
last_name (String)
The last name of the user
email_address (String)
The email address of the user
phone_number (String)
The phone number of the user
apns_token (String)
The apns token of the user
gcm_token (String)
The gcm token of the user
browser_token (String)
The browser token of the user
street_address (String)
The street address of the user
city (String)
The city of the user
state (String)
The state of the user
zip_code (String)
The zip code of the user
extraAttributes (Object): optional
Any other identifiers you use
callback (Function): required
Returns error or result
Track your events and the users who trigger them.
var lifecycle = require('lifecycle-node');
lifecycle.track(eventId, uniqueId, [properties], callback);
eventId (String): required
The name of your event
uniqueId (String): required
Your unique identifier for the user
properties (Object): optional
Any properties associated with your event
callback (Function): required
Returns error or result
Set the environment variable LIFECYCLE_API_KEY before running your app:
export LIFECYCLE_API_KEY='{YOUR_API_KEY}'
Note: On Windows use SET instead of export for setting the LIFECYCLE_API_KEY environment variable.
This package is available as open source under the terms of the MIT License.
FAQs
Lifecycle bindings for Node.js
We found that lifecycle-node 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.