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

backOpen Source→ast-monkey→Examples

Permalink to Table of ContentsTable 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
  • Find explicit undefined values
  • 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 value to undefined
  • Set a node using key instead of val
  • Delete during traversal with the collision-free token
  • Traverse a tree using the re-exported traverse
↑ back to top

Permalink to Quick TakeQuick Take

↑ back to top

Permalink to Delete matches from arrays onlyDelete matches from arrays only

↑ back to top

Permalink to Delete every object key of a given nameDelete every object key of a given name

↑ back to top

Permalink to Delete nodes by valueDelete nodes by value

↑ back to top

Permalink to Drop a node by its traversal indexDrop a node by its traversal index

↑ back to top

Permalink to Find nodes matching both a key and a valueFind nodes matching both a key and a value

↑ back to top

Permalink to Find nodes by value aloneFind nodes by value alone

↑ back to top

Permalink to Find explicit undefined valuesFind explicit undefined values

↑ back to top

Permalink to Search array elements onlySearch array elements only

↑ back to top

Permalink to Search object properties onlySearch object properties only

↑ back to top

Permalink to Get a node by its traversal indexGet a node by its traversal index

↑ back to top

Permalink to Keep only the first element of every arrayKeep only the first element of every array

↑ back to top

Permalink to Set a node's value by its traversal indexSet a node's value by its traversal index

↑ back to top

Permalink to Set a value to undefinedSet a value to undefined

↑ back to top

Permalink to Set a node using key instead of valSet a node using key instead of val

↑ back to top

Permalink to Delete during traversal with the collision-free tokenDelete during traversal with the collision-free token

↑ back to top

Permalink to Traverse a tree using the re-exported traverseTraverse 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