
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.
@glazed/datamodel
Advanced tools
Aliases for Ceramic stream references
npm install @glazed/datamodel
import { CeramicClient } from '@ceramicnetwork/http-client'
import { DataModel } from '@glazed/datamodel'
// The model aliases associate human-readable names to Ceramic stream IDs or URLs
const modelAliases = {
schemas: {
BlogPost: 'ceramic://<schema URL>',
},
definitions: {},
tiles: {
examplePost: '<stream ID>',
},
}
const ceramic = new CeramicClient()
const model = new DataModel({ ceramic, model: modelAliases })
// The model exposes simple APIs over the provided model aliases
const blogPostSchemaURL = model.getSchemaURL('BlogPost')
// Individual tiles defined in the model aliases can be loaded using the alias
const examplePost = await model.loadTile('examplePost')
// New tiles can be created using the defined schema aliases
const newPost = await model.createTile('BlogPost', { title: 'new post', text: 'Hello world' })
Dual licensed under MIT and Apache 2
FAQs
Aliases for Ceramic stream references
The npm package @glazed/datamodel receives a total of 1,015 weekly downloads. As such, @glazed/datamodel popularity was classified as popular.
We found that @glazed/datamodel 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.