
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@umbraco/headless-client
Advanced tools
Umbraco Heartcore is the headless CMS version of Umbraco as a Service.
This repository contains the Node.JS client library for the Umbraco Heartcore REST APIs.
> npm install @umbraco/headless-client
Create a client, then call commands on it
// client.ts
import {Client} from '@umbraco/headless-client'
const client = new Client({
projectAlias: 'your-project-alias',
apiKey: 'your-api-key',
language: 'iso-code', // can be overwritten per method
preview: true // true/false if the preview API should be used
})
export default client
// rootLinks.ts
async function rootLinks(client: Client) {
const rootContent = await client.delivery.content.root()
const childPages = rootContent.map(child => ({
url: child._url,
name: child.name
}))
return childPages
}
function linkGenerator(links: {url: string, name: string}[]) {
return links.map(link => {
return `<a href="${link.url}">${link.name}</a>`
})
}
async function main() {
const rootLinks = await rootLinks(require('./client').default)
const links = linkGenerator(rootLinks)
console.log(links)
}
General documentation for Umbraco Heartcore can be found on our.umbraco.com.
API documentation for the Client library can be generated by running the following
> npm install # install dependencies
> npm run build # build the source
> npm run docs # generate the documentation
This will generate markdown files in docs/api
that can be openend in any markdown viewer.
A simple way to view them is to use markserv by running
> npx markserv docs/api
FAQs
Node.js client library for the Umbraco Headless APIs
The npm package @umbraco/headless-client receives a total of 583 weekly downloads. As such, @umbraco/headless-client popularity was classified as not popular.
We found that @umbraco/headless-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.