Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
kazana-entities
Advanced tools
Gets api info (version of kazana-entities) This route is useful sonce it doesn't require auth so you can use it to find the other routes when running this as a plugin. (Kazana namespaces routes from plugins)
gets all entities of a certain type
Optional Query Params: limit and skip can be passed in to do pagination
gets a certain entity
Create a new entity, the payload need to include 'id' and 'name'
Update an entity
Deletes an entity
Per default, all the routes require authorization
It's recommended that you create a new app, that uses kazana-entities as a dependency. Then you apply configuration and bootstrap data from the repository of your app. A short example:
When kazana-entities is running as a plugin, the routes will be prefixed with /kazana/entities
. For example will the first route above be /kazana/entities/api/entities
.
// myproject-entities/index.js
var path = require('path')
var entitiesApp = require('kazana-entities')
entitiesApp.name = 'myproject-entities'
entitiesApp.version = require('./package.json').version
entitiesApp.bootstrap = path.resolve(__dirname, 'bootstrap')
module.exports = entitiesApp
Bootstrap the database via kazana-bootstrap
// myproject-entities directory
bootstrap/
|
-myproject-entities/ (name must match .kazanarc, see below)
-entitype:id.json (one json file / bootstrap doc)
See kazana-bootstrap for more bootstrap options (users, security, etc)
Configure the database name through kazana-config
// myproject-entities/.kazanarc
[db]
entities=myproject-entities
The only required property for all entities is "name"
. An optional
"aliases"
array allows set alternative names by with an entity can
be found as well.
FAQs
Central place to manage kazana entities
The npm package kazana-entities receives a total of 0 weekly downloads. As such, kazana-entities popularity was classified as not popular.
We found that kazana-entities 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.