nlp(`we met on June 1st 1992 at 8pm, then got married 1998-03-28.`).dates().out('array')
nlp(`it was two weeks after christmas.`).dates().json()[0]
nlp(`see you in three days`).dates().get()[0]
nlp(`i was born 1986-03-20.`).dates().format('{month} {date-ordinal} {year}').all().text()
nlp('four days and seven hours passed').durations().get()[0]
nlp('30mins tuesday').durations().json()[0]
nlp('it was 3 in the morning').times().get()[0]
nlp('meet at 5pm PST').times().get()[0]
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.