
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
Wurd is a service that lets you integrate a CMS into any website or app in minutes. This client makes it easy to load content into the browser for client-side applications.
If you're using React, check out wurd-react as it includes easy to use components for setting up editors and content at once.
If rendering on the server, use the API or wurd-node.
import wurd from 'wurd-web';
import { marked } from 'marked';
wurd.connect('myApp', {
editMode: true,
markdown: marked, // Optional to enable markdown parsing
});
wurd.load('homepage,shared')
.then(content => {
//Use getters for accessing content
content.text('homepage.title'); // 'Hello world'
// Use blocks for accessing subsections of content
var page = content.block('homepage');
page.text('title'); // 'Hello world'
page.map('team', item => {
item.text('name'); // 'John Smith'
});
});
See more in the examples folder or run them with npm run example.
Using NPM:
npm install wurd-web
Directly in the browser:
<script src="https://unpkg.com/wurd-web/dist/wurd.min.js"></script>
wurd.connect('appName', {editMode: true}).wurd.load('section').wurd.get('section.item').data-wurd attributes to the HTML. For example (using Mustache style template tags):<h1 data-wurd="homepage.title">{{wurd.get('homepage.title')}}</h1>
FAQs
Vanilla JS browser client for the Wurd CMS
The npm package wurd-web receives a total of 10 weekly downloads. As such, wurd-web popularity was classified as not popular.
We found that wurd-web 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
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.