
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@nymdev/clay-kiln
Advanced tools
🔥 Editing tools for Clay

npm install --save @nymdev/clay-kiln
Kiln will automatically compile scripts and styles after installing.
To include it in your site, add it to your bootstrap:
components:
clay-kiln:
allow: true
Then add it to any layouts you want to use it on:
components:
layout:
instances:
article-layout:
top:
-
_ref: /components/clay-kiln
Kiln will automatically display its toolbar (and load its scripts and styles) when you visit a page with ?edit=true as a query param.
Kiln has a simple client-side api that is used to extend its functionality. It consists of a global kiln object, with behaviors (object), decorators (array), and validators (array).
data-editable) when the page is loadedPUBLISH button and block publishing if they don't validateTo add custom behaviors, decorators, and validators, simply add them to the kiln object before the page's DOMContentLoaded event fires.
As behvaiors, decorators, and validators are standardized, we may add them into the kiln directly. They live in their respective folders, and can be overridden by clay instances as needed.
focus and placeholderThis file bootstraps internal and external behaviors, decorators, and validators. When the DOMContentLoaded event fires it instantiates a component-edit controller for each component on the page. This controller calls the decorators it needs (to attach click events to editable elements, or add placeholders, etc) and instantiates any services required (like component selectors).
npm test will run eslint and karma tests (the latter being run on browserify).npm run lint will run eslint locally on the script folders, as well as client.jsnpm run test-local will run karma tests locally (using karma.local.conf.js) and auto-watch for changesgulp watch will automatically re-compile scripts and styles on changeFAQs
Editor tools for Clay
The npm package @nymdev/clay-kiln receives a total of 230 weekly downloads. As such, @nymdev/clay-kiln popularity was classified as not popular.
We found that @nymdev/clay-kiln demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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 Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.