
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
bn-api-node
Advanced tools
Bigneon Javascript Middleware
npm install bn-api-node
import Bigneon from 'bn-api-node';
const options = {
protocol: "http",
host: "bigneon.dyn-ip.me",
port: 80,
basePath: "/api"
};
const headers = {};
const mocker = null;//This needs to be an instance of Mocker
const bigneon = new Bigneon.Server(options, headers, mocker);
//List events
bigneon.events.index().then(eventsResponse => {
console.log(eventsResponse.data);
});
//Auth
bigneon.auth.authenticate({email: "email@example.com", "password": "password"})
.then(response => {
//We can now call authed endpoints
bigneon.users.current().then(myUserResponse => {
console.log(myUserResponse.data);
});
});
For all of the documentation go to https://big-neon.github.io/bn-api-node/
For endpoints https://big-neon.github.io/bn-api-node/modules/_resources_index_.html
npm run test
npm run build
npm run build:web
npm run build:server
npm run build:tsc
npm run db-seed
npm run docs
npm run eslint:validate
npm run eslint:fix
git clone https://github.com/big-neon/bn-api-node.git
cd bn-api-node/
npm install
For local development using bn-web, link bn-node-api as an npm module in bn-web:
npm link
cd ../bn-web
npm link bn-api-node
FAQs
Bigneon Javascript Middleware
We found that bn-api-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.