
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@breezertwo/strapi-plugin-reading-time
Advanced tools
A plugin for Strapi that provides the ability to calculate the reading time texed based content. Supports plain text and Strapis block rich text fields.
npm i @breezertwo/strapi-plugin-reading-time
Add the following config to ./config/plugins.js
.
Please note that the field (e.g reading_time) referenced in the configuration file must exist. You can add it using the Strapi Admin UI. Also note that adding a field at a later point in time will require you to unpublish, change, save and republish the entry/entries in order for this plugin to work correctly.
module.exports = ({ env }) => ({
// ...
"reading-time": {
enabled: true,
config: {
skipUndefinedReferences: true,
contentTypes: {
article: {
field: "reading_time",
references: "content",
},
},
},
},
// ...
});
This will listen for any record created or updated in the article
content type and set the display time to read value for the reading_time
field automatically based on the content
field.
skipUndefinedReferences
FAQs
Calculate the reading time of your content
The npm package @breezertwo/strapi-plugin-reading-time receives a total of 18 weekly downloads. As such, @breezertwo/strapi-plugin-reading-time popularity was classified as not popular.
We found that @breezertwo/strapi-plugin-reading-time demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.