Call Object.freeze(obj) recursively on all unfrozen properties of obj that are functions or objects.Based in part on the code snippet from the MDN wiki page on Object.freeze(), which is released to the public domain.
freeze deep object recursiveA library of zero-dependency npm modules that do just do one thing. A guilt-free alternative to those bulkier utility libraries. Ideal for mobile web development or wherever bytes are precious. We welcome contributions. Please follow our contribution guidelines.
dependency-free utils mobile-web node array object functionTest if value matches the provided predicate. Create a reusable validator.
validation type-checking nodejs npm-package type types check checking guard guards assert assertion predicate predicates is validate utility util typeof instanceof objectWatch.JS is a small library with a lot of possibilities. You may know that the "Observer" design pattern involves executing some function when an observed object changes. Other libraries exist that do this, but with Watch.JS you will not have to change the way you develop. Take a look at the examples to see how simple it is to add Watch.JS to your code. If you don't want to call a second watcher in the current scope just set WatchJS.noMore to true and it will be reset to false when this watcher finishes.
watch object changesA simple and composable way to validate data in JavaScript. Superstruct makes it easy to define interfaces and then validate JavaScript data against them. Its type annotation API was inspired by Typescript, Flow, Go, and GraphQL, giving it a familiar and easy to understand API.
validation types interface structs schema api array assert cast check checker collection data error express hapi invalid joi json list model object orm scalar struct throw type valid validate validatorStampit is a 1.3KB gzipped (or 2.7K minified) JavaScript module which supports three different kinds of prototypal inheritance (delegation, concatenation, and functional) to let you inherit behavior in a way that is much more powerful and flexible than any other Object Oriented Programming model. Stamps are standardised composable factory functions. Stampit is an infected compose featuring friendly handy API.
oop stamps object-oriented dependency-injection factory class composition object prototype browser inheritance node stampWhen I was first learning object methods, I spent a lot of time digging through the docs to find the appropriate one, and I had to search one by one. I made this resource to help people find the correct object method a bit more naturally. You can narrow down what you want to do and explore until you find what's most useful to you. I realize that there are about a million ways that this resource can be set up, and some of the taxonomy is necessarily opinionated. I tried to focus on what I thought would have helped me learn the best, rather than industry standard delineations. If that style of learning suits you better, that's great! This resource is not set up that way. Please keep in mind that this is not meant to be as comprehensive or a replacement for full documentation, which is why the MDN docs are linked to in each method.
objects javascript-objects teaching-javascript vue vuejs2 vuex object learning-javascript javascript-toolsPython dictionaries with advanced dot notation access. If you want to be able to use the to_yaml functionality make sure to install PyYAML or ruamel.yaml as well.
dictionaries bunch python-types python3 python2 object helper python-library pypi box python-box addictNode.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari), support Object.assign() 🎉. If you target only those environments, then by all means, use Object.assign() instead of this package.Assigns enumerable own properties of source objects to the target object and returns the target object. Additional source objects will overwrite previous ones.
object assign extend properties es2015 ecmascript harmony ponyfill prollyfill polyfill shim browserGenerate hashes from objects and values in node and the browser. Uses node.js crypto module for hashing. Supports SHA1 and many others (depending on the platform) as well as custom streams (e.g. CRC32). Starting with version 1.1.8 (released April 2017), new versions will consider the exact returned hash part of the API contract, i.e. changes that will affect hash values will be considered semver-major. Previous versions may violate that expectation.
object hash sha1 md5icaro is really fast compared to the other reactive libs because it smartly throttles all the state changes. icaro will let you listen to all the changes happening in a javascript object or array, grouping them efficiently, and optimizing the performance of your listeners.
observable proxy object object-listener object-observer streams object-observable object-watchA simple caching module that has set, get and delete methods and works a little bit like memcached. Keys can have a timeout (ttl) after which they expire and are deleted from the cache. All keys are stored in a single object so the practical limit is at around 1m keys. Since 4.1.0: Key-validation: The keys can be given as either string or number, but are casted to a string internally anyway. All other types will either throw an error or call the callback with an error.
nodejs cache memory internal caching fast local variable multi node memcached objectConvert JSON Objects to MySQL Table Schema, JSON Schema, Mongoose Schema, ClickHouse Schema, Google BigQuery, or a Generic template for documentation, code generation, and more. Optionally, add -g to the above if you want the generate-schema command line executable.
json schema object convert manipulate traverse types type is generate produce mongoose generic validation bigquery google data datatypesQuery language to perform complex object searches.
query object json searchQuery JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js. Here are syntax and examples adapted from Stefan Goessner's original post introducing JSONPath in 2007.
jsonpath json-path object traversal json path data-structuresProvides useful operations on PHP object graphs. The object_graph_dump() function supports the DOT Graph Description Language (.dot), Portable Document Format (.pdf), Portable Network Graphics (.png), and Scalable Vector Graphics (.svg) output formats.
object visualization
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.