
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
chained-obj
Advanced tools
Builder and parser for objects stored by Tradle on chain. Currently uses multipart to store arbitrary JSON data + attachments. These objects are later encrypted and put on-chain.
this module is used by Tradle
var ChainedObj = require('chained-obj')
var Builder = ChainedObj.Builder
var Parser = ChainedObj.Parser
var b = new Builder()
// required
.data({
some: 'json'
})
// optional
.attach([
{ name: 'headshot', path: './path/to/attachment1' },
{ name: 'passport', path: './path/to/attachment2' }
])
// optional
.signWith(key) // a key from [kiki](https://npmjs.org/package/kiki) or a key conforming to its API
.build(function (err, result) {
// result consists of the form and the multipart boundary used
// {
// form: Buffer,
// boundary: String
// }
})
var p = new Parser()
// optional
.verifyWith(key) // a key from [kiki](https://npmjs.org/package/kiki) or a key
.parse(formBuf, function (err, parsed) {
// parsed consists of the data and attachments
// {
// data: Buffer,
// attachments: [
// {
// name: String,
// path: String,
// contentType: String
// }
// ]
// }
})
FAQs
create multipart on-chain objects
We found that chained-obj 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.