
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
next-drupal
Advanced tools
A page with all "Article" nodes.
import { DrupalClient } from "next-drupal"
const drupal = new DrupalClient("https://cms.next-drupal.org")
export default function BlogPage({ articles }) {
return (
<div>
{articles?.length
? nodes.map((node) => (
<div key={node.id}>
<h1>{node.title}</h1>
</div>
))
: null}
</div>
)
}
export async function getStaticProps(context) {
const articles = await drupal.getResourceCollectionFromContext(
"node--article",
context
)
return {
props: {
articles,
},
}
}
Development sponsored by Chapter Three
If you're interested in contributing to Next.js for Drupal, please read the contributing guidelines before submitting a pull request.
FAQs
Helpers for Next.js + Drupal.
The npm package next-drupal receives a total of 7,770 weekly downloads. As such, next-drupal popularity was classified as popular.
We found that next-drupal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.