https://github.com/detro/node-introspection
Utilities to do introspection of objects: helpful during development
https://github.com/detro/node-introspection
Last synced: over 1 year ago
JSON representation
Utilities to do introspection of objects: helpful during development
- Host: GitHub
- URL: https://github.com/detro/node-introspection
- Owner: detro
- License: apache-2.0
- Created: 2016-08-09T11:05:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-16T11:47:58.000Z (almost 10 years ago)
- Last Synced: 2025-03-12T04:35:29.222Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-introspection
Utilities to do introspection of objects: helpful during development.
[](https://nodei.co/npm/introspection/)
[](https://nodei.co/npm/introspection/)
```javascript
var introspection = require('introspection');
var objectHierarchyArray = introspection.objectHierarchy(obj);
var objectEventsArray = introspection.objectEvents(obj);
introspection.listenOn(nodeObject, eventsToListenOn);
introspection.listenOnAllSocketEvents(socket);
introspection.listenOnAllRequestEvents (request);
introspection.listenOnAllResponseEvents (response);
introspection.functionArguments (fn);
```
## License
[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) ([txt](https://www.apache.org/licenses/LICENSE-2.0.txt))