{"_id":"@bobyzgirlllnpm/eveniet-commodi-ipsam","name":"@bobyzgirlllnpm/eveniet-commodi-ipsam","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bobyzgirlllnpm/eveniet-commodi-ipsam","version":"1.0.0","description":"[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]","main":"index.js","scripts":{},"author":{"name":"bobyzgirlLl"},"license":"MIT","dependencies":{"@bobyzgirlllnpm/aspernatur-fugiat-quam":"^1.0.0","@bobyzgirlllnpm/autem-nemo-incidunt":"^1.0.0","@bobyzgirlllnpm/dolorem-officia-assumenda":"^1.0.0","@bobyzgirlllnpm/dolorem-vero-atque":"^1.0.0","@bobyzgirlllnpm/facere-ipsum-aspernatur":"^1.0.0","@bobyzgirlllnpm/id-nobis-pariatur":"^1.0.0","@bobyzgirlllnpm/illo-architecto-dolorum":"^1.0.0","@bobyzgirlllnpm/impedit-quia-ea":"^1.0.0","@bobyzgirlllnpm/itaque-similique-commodi":"^1.0.0","@bobyzgirlllnpm/iure-velit-sapiente":"^1.0.0","@bobyzgirlllnpm/libero-facere-id":"^1.0.0","@bobyzgirlllnpm/libero-itaque-consequuntur":"^1.0.0","@bobyzgirlllnpm/magnam-laboriosam-illum":"^1.0.0","@bobyzgirlllnpm/mollitia-doloribus-sapiente":"^1.0.0","@bobyzgirlllnpm/mollitia-fugit-officia":"^1.0.0","@bobyzgirlllnpm/nesciunt-voluptatibus-nesciunt":"^1.0.0","@bobyzgirlllnpm/nostrum-inventore-quasi":"^1.0.0","@bobyzgirlllnpm/nostrum-voluptate-provident":"^1.0.0","@bobyzgirlllnpm/pariatur-recusandae-id":"^1.0.0","@bobyzgirlllnpm/perspiciatis-sequi-eligendi":"^1.0.0","@bobyzgirlllnpm/recusandae-minus-veritatis":"^1.0.0","@bobyzgirlllnpm/repudiandae-quae-in":"^1.0.0","@bobyzgirlllnpm/saepe-autem-impedit":"^1.0.0","@bobyzgirlllnpm/suscipit-nisi-fuga":"^1.0.0","@bobyzgirlllnpm/ullam-voluptate-placeat":"^1.0.0","@drftgyhuji7npm/repellendus-eum-et-itaque":"^1.0.0","hai-custom-button":"^1.0.0","remind-works-8th":"^1.0.2","web3-khai-1":"^1.0.1","web3-khai-2":"^1.0.1"},"keywords":["getintrinsic","character","immer","jsdiff","cloudwatch","Object.is","find-up","shrinkwrap","bdd","look","Uint16Array","descriptors","Array.prototype.flatten","workspace:*","plugin","check","mru","protobuf","env","busy","efficient","postcss","limit","logger","term","Array.prototype.findLast","String.prototype.trim","regular expressions","regexp","fastcopy","trimLeft","utility","values","less css","logging","extra","private data","persistent","isConcatSpreadable","BigInt64Array","arrays","Array.prototype.filter","require","elm","wrap","elb","ecmascript","preprocessor","package manager","BigUint64Array","sqs","compiler","elasticache","hooks","zod","CSSStyleDeclaration","uninstall","inspect","es2018","scheme-validation","break","eslint-plugin","delete","streams2","jsonpath","classname","dom-testing-library","watcher","hot","mkdirs","Array.prototype.flatMap","libphonenumber","[[Prototype]]","argparse","RxJS","key","wordbreak","banner","typed","typesafe","toStringTag","stylesheet","typeof","Object.defineProperty","crypt","recursive","ts","ES2019","chromium","loadbalancing","valid","ECMAScript 6","Array.prototype.findLastIndex","watch","ES2023","Object.keys","eslintconfig","spinners","toArray","defineProperty","rds","full","loading","cors","filter","rgb","forEach","command","typanion","bootstrap css","quote","256","functions","toolkit","task","generics","prop","module","flux","input","chinese","beanstalk","format","installer","live","testing","Push","cloudformation","Reflect.getPrototypeOf","prefix","positive","negative zero","width","xhr","airbnb","less compiler","styled-components","setImmediate","JSON-Schema","replay","structuredClone","indicator","Iterator","vpc","side","lazy","concat","listeners","file system","Object","emit","es-shim API","String.prototype.matchAll","runtime","Streams","every","ava","io-ts","performance","regular","group","ESnext","stateless","modules","concurrency","reuse","time","mkdir","ECMAScript 2015","fast-copy","obj","look-up","async","YAML","Object.values","trimRight","s3","ES2020","getopt","fixed-width","react-hooks","es2016","typed array",".env","ECMAScript 2017","client","form","link","mixins","shim","arraybuffer","weakmap","Symbol","web","folder","dom","console","bind","omit","setPrototypeOf","eslintplugin","importexport","open","ReactiveExtensions","auth","channel","URL","ajax","call","crypto","descriptor","throttle","eslint","browserslist","rmdir","colors","password","authentication","await","deep","up","stringify","ratelimit","jsdom","optimizer","location","es-shims","-0","flags","iterate","lint","less mixins","fast","coercible","text","merge","visual","take","hookform","sameValueZero","css less","nested css","StyleSheet","characters","terminal","setter","serialization","multi-package","ECMAScript 7","Underscore","apollo","callback","starter","es","array","assert","queueMicrotask","configurable","es8","a11y","code points","make","negative","mobile","dependency manager","compare","Uint8Array","_.extend","duplex","Rx","install","Microsoft","tty","accessor","node","styleguide","jsx","dir","language","flat","kinesis","value","shared","form-validation","class-validator","callbind","mime","dotenv","package","zero","ReactiveX","HyBi","jasmine","toSorted","dayjs","vest","tslib","cloudfront","command-line","CSS","classes","entries","http","sns","formatting","dynamodb","data","throat","assertion","exec","native","once","Object.entries","query","qs","jQuery","path","sequence","bound","TypeBox","gradients css3","fs","escape","js","japanese","es6","enumerable","function","tostringtag","symbols","es2015","progress","optimist","awesomesauce","telephone","functional","promise","contains","react-hook-form","mocha","ES3","bcrypt","properties","shebang","espree","autoprefixer","id","ascii","route","lru","ponyfill","commander","Observables","Uint8ClampedArray","Int8Array","fps","routing","cloudtrail","classnames","flag","$.extend","datastructure","Int32Array","superstruct","regular expression","browser","monorepo","bundler","robust","make dir","utilities","random","fastify","cache","in","tap","create","core","call-bind","hardlinks","events","ES7","patch","cloudsearch","trimEnd","object","variables","chai","endpoint","eventEmitter","bundling","spec","ebs","Object.fromEntries","stdlib","extension","ECMAScript 2018"],"repository":{"type":"git","url":"git+https://github.com/bobyzgirlllnpm/eveniet-commodi-ipsam.git"},"homepage":"https://github.com/bobyzgirlllnpm/eveniet-commodi-ipsam/#readme","bugs":{"url":"https://github.com/bobyzgirlllnpm/eveniet-commodi-ipsam/issues"},"_id":"@bobyzgirlllnpm/eveniet-commodi-ipsam@1.0.0","gitHead":"ab21d83fecdff5aeafa40181c518264c6470947d","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-YfAiutVFVIYgqD08cLphpMx667RzV8uawn3ag1iCGLFde2zWvN0kMmg4UvFgRdUzxfwqPY41MkCrRRvO5fMR7g==","shasum":"5bf37d68dd126c49c278f69fcfd4ca769a1088f8","tarball":"https://registry.npmjs.org/@bobyzgirlllnpm/eveniet-commodi-ipsam/-/eveniet-commodi-ipsam-1.0.0.tgz","fileCount":8,"unpackedSize":18417,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU3hHO/6vTRNAAoqtgBsl26JJSJWF69C2cdLbDXOI+PAIhAMN0XM+4ViD78fNuHO5NxbnL24rvavD7rTEdkIIoXzb2"}]},"_npmUser":{"name":"haiminh1192","email":"haiminh1192@gmail.com"},"directories":{},"maintainers":[{"name":"haiminh1192","email":"haiminh1192@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eveniet-commodi-ipsam_1.0.0_1714819018573_0.939438463454769"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-04T10:36:58.473Z","1.0.0":"2024-05-04T10:36:58.755Z","modified":"2024-05-04T10:36:59.029Z"},"maintainers":[{"name":"haiminh1192","email":"haiminh1192@gmail.com"}],"description":"[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]","homepage":"https://github.com/bobyzgirlllnpm/eveniet-commodi-ipsam/#readme","keywords":["getintrinsic","character","immer","jsdiff","cloudwatch","Object.is","find-up","shrinkwrap","bdd","look","Uint16Array","descriptors","Array.prototype.flatten","workspace:*","plugin","check","mru","protobuf","env","busy","efficient","postcss","limit","logger","term","Array.prototype.findLast","String.prototype.trim","regular expressions","regexp","fastcopy","trimLeft","utility","values","less css","logging","extra","private data","persistent","isConcatSpreadable","BigInt64Array","arrays","Array.prototype.filter","require","elm","wrap","elb","ecmascript","preprocessor","package manager","BigUint64Array","sqs","compiler","elasticache","hooks","zod","CSSStyleDeclaration","uninstall","inspect","es2018","scheme-validation","break","eslint-plugin","delete","streams2","jsonpath","classname","dom-testing-library","watcher","hot","mkdirs","Array.prototype.flatMap","libphonenumber","[[Prototype]]","argparse","RxJS","key","wordbreak","banner","typed","typesafe","toStringTag","stylesheet","typeof","Object.defineProperty","crypt","recursive","ts","ES2019","chromium","loadbalancing","valid","ECMAScript 6","Array.prototype.findLastIndex","watch","ES2023","Object.keys","eslintconfig","spinners","toArray","defineProperty","rds","full","loading","cors","filter","rgb","forEach","command","typanion","bootstrap css","quote","256","functions","toolkit","task","generics","prop","module","flux","input","chinese","beanstalk","format","installer","live","testing","Push","cloudformation","Reflect.getPrototypeOf","prefix","positive","negative zero","width","xhr","airbnb","less compiler","styled-components","setImmediate","JSON-Schema","replay","structuredClone","indicator","Iterator","vpc","side","lazy","concat","listeners","file system","Object","emit","es-shim API","String.prototype.matchAll","runtime","Streams","every","ava","io-ts","performance","regular","group","ESnext","stateless","modules","concurrency","reuse","time","mkdir","ECMAScript 2015","fast-copy","obj","look-up","async","YAML","Object.values","trimRight","s3","ES2020","getopt","fixed-width","react-hooks","es2016","typed array",".env","ECMAScript 2017","client","form","link","mixins","shim","arraybuffer","weakmap","Symbol","web","folder","dom","console","bind","omit","setPrototypeOf","eslintplugin","importexport","open","ReactiveExtensions","auth","channel","URL","ajax","call","crypto","descriptor","throttle","eslint","browserslist","rmdir","colors","password","authentication","await","deep","up","stringify","ratelimit","jsdom","optimizer","location","es-shims","-0","flags","iterate","lint","less mixins","fast","coercible","text","merge","visual","take","hookform","sameValueZero","css less","nested css","StyleSheet","characters","terminal","setter","serialization","multi-package","ECMAScript 7","Underscore","apollo","callback","starter","es","array","assert","queueMicrotask","configurable","es8","a11y","code points","make","negative","mobile","dependency manager","compare","Uint8Array","_.extend","duplex","Rx","install","Microsoft","tty","accessor","node","styleguide","jsx","dir","language","flat","kinesis","value","shared","form-validation","class-validator","callbind","mime","dotenv","package","zero","ReactiveX","HyBi","jasmine","toSorted","dayjs","vest","tslib","cloudfront","command-line","CSS","classes","entries","http","sns","formatting","dynamodb","data","throat","assertion","exec","native","once","Object.entries","query","qs","jQuery","path","sequence","bound","TypeBox","gradients css3","fs","escape","js","japanese","es6","enumerable","function","tostringtag","symbols","es2015","progress","optimist","awesomesauce","telephone","functional","promise","contains","react-hook-form","mocha","ES3","bcrypt","properties","shebang","espree","autoprefixer","id","ascii","route","lru","ponyfill","commander","Observables","Uint8ClampedArray","Int8Array","fps","routing","cloudtrail","classnames","flag","$.extend","datastructure","Int32Array","superstruct","regular expression","browser","monorepo","bundler","robust","make dir","utilities","random","fastify","cache","in","tap","create","core","call-bind","hardlinks","events","ES7","patch","cloudsearch","trimEnd","object","variables","chai","endpoint","eventEmitter","bundling","spec","ebs","Object.fromEntries","stdlib","extension","ECMAScript 2018"],"repository":{"type":"git","url":"git+https://github.com/bobyzgirlllnpm/eveniet-commodi-ipsam.git"},"author":{"name":"bobyzgirlLl"},"bugs":{"url":"https://github.com/bobyzgirlllnpm/eveniet-commodi-ipsam/issues"},"license":"MIT","readme":"# @bobyzgirlllnpm/eveniet-commodi-ipsam <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nTraverse and transform objects by visiting every node on a recursive walk.\n\n# examples\n\n## transform negative numbers in-place\n\nnegative.js\n\n````javascript\nvar @bobyzgirlllnpm/eveniet-commodi-ipsam = require('@bobyzgirlllnpm/eveniet-commodi-ipsam');\nvar obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ];\n\n@bobyzgirlllnpm/eveniet-commodi-ipsam(obj).forEach(function (x) {\n    if (x < 0) this.update(x + 128);\n});\n\nconsole.dir(obj);\n````\n\nOutput:\n\n    [ 5, 6, 125, [ 7, 8, 126, 1 ], { f: 10, g: 115 } ]\n\n## collect leaf nodes\n\nleaves.js\n\n````javascript\nvar @bobyzgirlllnpm/eveniet-commodi-ipsam = require('@bobyzgirlllnpm/eveniet-commodi-ipsam');\n\nvar obj = {\n    a : [1,2,3],\n    b : 4,\n    c : [5,6],\n    d : { e : [7,8], f : 9 },\n};\n\nvar leaves = @bobyzgirlllnpm/eveniet-commodi-ipsam(obj).reduce(function (acc, x) {\n    if (this.isLeaf) acc.push(x);\n    return acc;\n}, []);\n\nconsole.dir(leaves);\n````\n\nOutput:\n\n    [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]\n\n## scrub circular references\n\nscrub.js:\n\n````javascript\nvar @bobyzgirlllnpm/eveniet-commodi-ipsam = require('@bobyzgirlllnpm/eveniet-commodi-ipsam');\n\nvar obj = { a : 1, b : 2, c : [ 3, 4 ] };\nobj.c.push(obj);\n\nvar scrubbed = @bobyzgirlllnpm/eveniet-commodi-ipsam(obj).map(function (x) {\n    if (this.circular) this.remove()\n});\nconsole.dir(scrubbed);\n````\n\noutput:\n\n    { a: 1, b: 2, c: [ 3, 4 ] }\n\n# methods\n\nEach method that takes an `fn` uses the context documented below in the context\nsection.\n\n## .map(fn)\n\nExecute `fn` for each node in the object and return a new object with the\nresults of the walk. To update nodes in the result use `this.update(value)`.\n\n## .forEach(fn)\n\nExecute `fn` for each node in the object but unlike `.map()`, when\n`this.update()` is called it updates the object in-place.\n\n## .reduce(fn, acc)\n\nFor each node in the object, perform a\n[left-fold](http://en.wikipedia.org/wiki/Fold_(higher-order_function))\nwith the return value of `fn(acc, node)`.\n\nIf `acc` isn't specified, `acc` is set to the root object for the first step\nand the root element is skipped.\n\n## .paths()\n\nReturn an `Array` of every possible non-cyclic path in the object.\nPaths are `Array`s of string keys.\n\n## .nodes()\n\nReturn an `Array` of every node in the object.\n\n## .clone()\n\nCreate a deep clone of the object.\n\n## .get(path)\n\nGet the element at the array `path`.\n\n## .set(path, value)\n\nSet the element at the array `path` to `value`.\n\n## .has(path)\n\nReturn whether the element at the array `path` exists.\n\n# context\n\nEach method that takes a callback has a context (its `this` object) with these\nattributes:\n\n## this.node\n\nThe present node on the recursive walk\n\n## this.path\n\nAn array of string keys from the root to the present node\n\n## this.parent\n\nThe context of the node's parent.\nThis is `undefined` for the root node.\n\n## this.key\n\nThe name of the key of the present node in its parent.\nThis is `undefined` for the root node.\n\n## this.isRoot, this.notRoot\n\nWhether the present node is the root node\n\n## this.isLeaf, this.notLeaf\n\nWhether or not the present node is a leaf node (has no children)\n\n## this.level\n\nDepth of the node within the traversal\n\n## this.circular\n\nIf the node equals one of its parents, the `circular` attribute is set to the\ncontext of that parent and the traversal progresses no deeper.\n\n## this.update(value, stopHere=false)\n\nSet a new value for the present node.\n\nAll the elements in `value` will be recursively @bobyzgirlllnpm/eveniet-commodi-ipsamd unless `stopHere` is\ntrue.\n\n## this.remove(stopHere=false)\n\nRemove the current element from the output. If the node is in an Array it will\nbe spliced off. Otherwise it will be deleted from its parent.\n\n## this.delete(stopHere=false)\n\nDelete the current element from its parent in the output. Calls `delete` even on\nArrays.\n\n## this.before(fn)\n\nCall this function before any of the children are @bobyzgirlllnpm/eveniet-commodi-ipsamd.\n\nYou can assign into `this.keys` here to @bobyzgirlllnpm/eveniet-commodi-ipsam in a custom order.\n\n## this.after(fn)\n\nCall this function after any of the children are @bobyzgirlllnpm/eveniet-commodi-ipsamd.\n\n## this.pre(fn)\n\nCall this function before each of the children are @bobyzgirlllnpm/eveniet-commodi-ipsamd.\n\n## this.post(fn)\n\nCall this function after each of the children are @bobyzgirlllnpm/eveniet-commodi-ipsamd.\n\n\n# install\n\nUsing [npm](http://npmjs.org) do:\n\n    $ npm install @bobyzgirlllnpm/eveniet-commodi-ipsam\n\n# license\n\nMIT\n\n[package-url]: https://npmjs.org/package/@bobyzgirlllnpm/eveniet-commodi-ipsam\n[npm-version-svg]: https://versionbadg.es/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam.svg\n[deps-svg]: https://david-dm.org/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam.svg\n[deps-url]: https://david-dm.org/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam\n[dev-deps-svg]: https://david-dm.org/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/@bobyzgirlllnpm/eveniet-commodi-ipsam.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/@bobyzgirlllnpm/eveniet-commodi-ipsam.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/@bobyzgirlllnpm/eveniet-commodi-ipsam.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=@bobyzgirlllnpm/eveniet-commodi-ipsam\n[codecov-image]: https://codecov.io/gh/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam\n[actions-url]: https://github.com/ljharb/@bobyzgirlllnpm/eveniet-commodi-ipsam/actions\n","readmeFilename":"README.md"}