
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.
schema-dot-org-types
Advanced tools
Classes with flow types to encapsulate schema.org markup attributes.
JS class package representing Schema.org types.
This is an unofficial attempt at assembling the Schema.org types into a light-weight JavaScript package that faciliates creating proper instances of schema markup with the support of flow type annotations.
Classes are exported via the index. Flow types are exported via lib/types.
The files are transpiled and should be compatible with modern browsers. The immediate goal is for them to be used in React apps and packaged for the browser with webpack by the consuming application.
npm install schema-dot-org-types
//@flow
import {VideoObject} from 'schema-dot-org-types';
import type {VideoObjectType} from 'schema-dot-org-types/lib/types';
The schema.org types contained in the src/generated folder were created using the
transform-schema script in the tools folder. You can add files for any additional types by
invoking
npm run transform-schema -- <SchemaType>
At present, it's necessary to edit the types.js and index.js files to add the desired types once the class files are generated.
FAQs
Classes with flow types to encapsulate schema.org markup attributes.
The npm package schema-dot-org-types receives a total of 2 weekly downloads. As such, schema-dot-org-types popularity was classified as not popular.
We found that schema-dot-org-types 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.