![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@tpluscode/rdf-string
Advanced tools
Changelog
1.3.3
Readme
@tpluscode/rdf-string
![]()
![]()
Simplifies the construction of RDF strings (turtle, n-triples, SPARQL, etc.) by taking care of correctly serializing values to their string representation and automatically prefixing URIs.
The heart of the library are EcmaScript template string tag functions. All interpolated values are serialized according to the syntactic rules of the given RDF format.
Formats which support prefixes will automatically abbreviate the URIs and return the prefix declarations according to the specific syntax.
import * as RDF from '@rdfjs/data-model'
import { prefixes } from '@zazuko/rdf-vocabularies'
import namespace from '@rdfjs/namespace'
import { sparql } from '@zazuko/rdf-string'
const person = RDF.variable('person')
const PersonType = RDF.namedNode('http://example.com/Person')
const schema = namespace(prefixes.schema)
const name = "John"
const query = sparql`SELECT * WHERE {
${person} a ${PersonType} .
${person} ${schema.name} ${name} .
}`
query.toString()
The last line will return a complete query.
PREFIX schema: <http://schema.org/>
SELECT * WHERE {
?person a <http://example.com/Person> .
?person schema:name "John" .
}
TBD
TBD
FAQs
Simplifies creating of RDF strings using ECMAscript templates
The npm package @tpluscode/rdf-string receives a total of 2,346 weekly downloads. As such, @tpluscode/rdf-string popularity was classified as popular.
We found that @tpluscode/rdf-string demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.