
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.
faster-sdk-js
Advanced tools
Faster is a framework which provides analytics, account, billing and remote-config features. This project is related to SDK for Javascript development given a easy-to-use API to work with.
Currently released features:
Analytics (This package):
Remote Config (Check Package):
Account (Check Package):
Billing: coming soon
Get the package from the public npm registry, with your favorite package manager:
yarn add faster-sdk-js
or
npm install faster-sdk-js
Request a new applicationKey and applicationSecret with faster-team at Movile.
For security purpose DO NOT share or store your applicationSecret.
Import the Faster module and FasterConfiguration object using ES6 syntax.
import Faster, { FasterConfiguration } from 'faster-sdk-js';
Now, configure and start Faster SDK:
const configuration = new FasterConfiguration('__appKey__', '__secretKey__', options);
Faster.configure(configuration);
const fasterAnalyticsInstance = Faster.start();
Event builder used to create proper Faster Event instances.
import { EventBuilder } from 'faster-sdk-js';
const eventBuilder = new EventBuilder(eventId, eventRevision);
const event = eventBuilder
.id('some-event-id')
.externalId('another_tracking_tool_id')
.dimension('someStringProperty', 'someValue')
.dimension('someBooleanProperty', true)
.dimension('someNumberProperty', 300)
.build();
Then you can register the event in Faster Analytics:
fasterAnalyticsInstance.event.register(event);
Most common startup way for faster
For applications embedded inside other applications that use Faster. In this mode, only event tracking will be available, as Device and Session information are handled by the parent application.
It provides a date that is synchronized with the server time. This is really useful when you want to keep track of a timeline of facts.
now(): Date:Calculates what would be the given moment taking into consideration the time difference with the server.
If the time difference is bellow 4 seconds, only the client time is considered. If the time from the serve is not yet retrieved it returns null instead.
import FasterAnalytics, { ServerDate } from 'faster-sdk-js'
FasterAnalytics.configure(fstrConfig);
const fasterAnalytics = FasterAnalytics.start();
console.log(ServerDate.now())
Returns the entire Device object with all information collected by Faster.
Inserts a new custom property in the device information.
Inserts a new set of custom properties in the device information.
Removes a property with the given name from properties in the device information.
Updates the push identifier of the client in the device information.
Returns the entire Session object with all information collected by Faster.
Inserts a new custom property in the Session information.
Inserts a new set of custom properties in the Session information.
Removes a property with the given name from properties in the Session information.
Updates the user id of the client in the Session information.
Updates the geopoint of the client in the Session information, if the client moves more than approximately 100m.
import { GeoPoint } from 'faster-sdk-js'
new GeoPoint(100, 100)
Registers a new event in the Faster database. This method provides request count control and retry mechanisms.
Registers a new event in the Faster database, returning a promise of the process. This method does not provide retry and request count control.
Set the id value used by Faster for the built event.
Set the id value from external sources for the built event.
Add a new custom property to the built event.
Add multiple custom properties to the built event.
FAQs
Faster Together JavaScript SDK
We found that faster-sdk-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.