Code Snippets.
These are a collection of code snippets I've used in the past and saved. Some are Serverless Functions, which include set up instructions. Others are anything from random CSS snippets to Node.js scripts.
Delve
Safely get a dot-notated path within a nested object, with ability to return a default if the full key path does not exist or the value is undefined
Stringify query parameters
Download a Directus Example
Generate Slugs with Flows
Use Directus Flows to generate slugs
Buttondown
Subscribe to a newsletter.
Buttondown
Get all subscribers.
Remix
Subscribe to a newsletter