
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.
The definition of a blog type link-meta and supporting code generated by dfon2json
Definition of a blog media type.
A Link Meta is a data type, a kind of blog media type.
This document serves the purpose of defining a Link Meta and a means by which it may be introduced into programming languages for use.
This repository may include code and methods for including the package in dependent programs.
A blog media type is a type of media along with a meta description of the media rendered/stored as a type.
A link-meta is an instance of a blog-type
Definitions are cast in the dfon format. This is a format defined in a project, dfon2json.
Def:> file(def-${typename}) // def-blog_type.json
typename : blog_type
fields : #{
creator : <string|<UCWID>>
email : <string|<e-mail>[5,256]>
title : <string|[1,256]>
subject : <string|[1,256]>
keys : [<token>]
txt_full : <string>
}
inherit : none
role : base
The following is the dfon definition of a the link-meta blog media type:
Def:> file(def-${typename}) // def-link_meta.json
typename : link_meta
fields : #{
presentation : <string|<media-specifier>>
links : [<string|<URL>>]
link_map : { <token> : <string|<URL>> } // A token provides an binding hint... instantiators use for injesting a link meta
reverse_link_map : { <string|<URL>> : <token> } // link meta managers may search for a token in a binding given a link as a key...
}
inherit : blog_type
role : impl
npm install link-meta
Use in a node.js JavaScript program.
// Import the link meta class
const Link_meta = require('link-meta')
// create a new instance of the class (default values)
let a_link_meta = new Link_meta()
// Set specific fields
a_link_meta.set_from_map({
"creator" : "the creator person",
"email" : "creator@create.org"
})
// set values throught the code
a_link_meta.title = "My Latest Opus"
// get values throughout the code
let edit_title = a_link_meta.title
// set a map value
a_link_meta.set_link_map("that_link_id","https://linked.to/this/stuff")
// get a map value
let what_is_that_url = a_link_meta.get_link_map("that_link_id")
// delete key-value pair
a_link_meta.del_link_map("that_link_id")
// Array operations
a_link_meta.push_links("https://linked.to/this/stuff")
a_link_meta.pop_links()
FAQs
The definition of a blog type link-meta and supporting code generated by dfon2json
We found that link-meta 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
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.