Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→ast-monkey→Examples

Table of Contents

  • Quick Take
  • Delete matches from arrays only
  • Delete every object key of a given name
  • Delete nodes by value
  • Drop a node by its traversal index
  • Find nodes matching both a key and a value
  • Find nodes by value alone
  • Search array elements only
  • Search object properties only
  • Get a node by its traversal index
  • Keep only the first element of every array
  • Set a node's value by its traversal index
  • Set a node using key instead of val
  • Traverse a tree using the re-exported traverse
↑ back to top

Quick Take

↑ back to top

Delete matches from arrays only

↑ back to top

Delete every object key of a given name

↑ back to top

Delete nodes by value

↑ back to top

Drop a node by its traversal index

↑ back to top

Find nodes matching both a key and a value

↑ back to top

Find nodes by value alone

↑ back to top

Search array elements only

↑ back to top

Search object properties only

↑ back to top

Get a node by its traversal index

↑ back to top

Keep only the first element of every array

↑ back to top

Set a node's value by its traversal index

↑ back to top

Set a node using key instead of val

↑ back to top

Traverse a tree using the re-exported traverse

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab