Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
journeyapps
Advanced tools
Journey JavaScript library and database accessor
Get the module from yarn
yarn add journeyapps
import the helper DB (my_script.js)
const { Database } = require("journeyapps");
async function run() {
const db = await Database.instance({ baseUrl: 'http://test.test/api/v4/testaccount', token: process.env.API_TOKEN });
// use the api as per documentation (https://docs.journeyapps.com/docs/app-database#section-usage)
let user = await db.user.first();
console.log(user.name);
}
run();
run the program via node
API_TOKEN=<some_token> node my_script.js
yarn
in the root & tools folderstsc
webpack
or ./node_modules/.bin/webpack
to build the librarygulp
or ./node_modules/.bin/gulp
to test everythingSee https://github.com/journeyapps/journey-ionic-sample for a sample project.
See DEVELOPMENT.md for instructions on building and publishing journey-js.
FAQs
Journey JS library
We found that journeyapps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.