Public
Edited
Aug 30, 2022
2 stars
Also listed in…
Tips and Utilities
API
Insert cell
Insert cell
Insert cell
mp = import('https://unpkg.com/messagepipe@0.2.3/dist/index.esm.js?module')
Insert cell
{
const msg = mp.MessagePipe().compile('Hello {planet}!')
yield msg({ planet: 'Mars' })
}
Insert cell
{
const { compile } = mp.MessagePipe({
reverse: (val) => val.split('').reverse().join(''),
capitalize: (val) => val[0].toUpperCase() + val.slice(1).toLowerCase(),
})

const msg = compile('Hello {planet | reverse | capitalize}!')

yield msg({ planet: 'Mars' })
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more