{"id":18018957,"url":"https://github.com/nv/jsdump","last_synced_at":"2025-07-11T08:39:57.044Z","repository":{"id":814715,"uuid":"524271","full_name":"NV/jsDump","owner":"NV","description":"Fork of jsDump by Ariel Flesler","archived":false,"fork":false,"pushed_at":"2015-11-20T15:33:13.000Z","size":197,"stargazers_count":31,"open_issues_count":2,"forks_count":6,"subscribers_count":5,"default_branch":"gh-pages","last_synced_at":"2024-10-13T21:39:53.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://nv.github.com/jsDump/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-02-18T13:02:05.000Z","updated_at":"2023-01-06T16:01:21.000Z","dependencies_parsed_at":"2022-08-16T11:00:29.905Z","dependency_job_id":null,"html_url":"https://github.com/NV/jsDump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NV%2FjsDump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NV%2FjsDump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NV%2FjsDump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NV%2FjsDump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NV","download_url":"https://codeload.github.com/NV/jsDump/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222167534,"owners_count":16942274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T05:08:22.180Z","updated_at":"2024-10-30T05:08:22.838Z","avatar_url":"https://github.com/NV.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jsDump\n======\n\n`jsDump.parse(object)` returns a string containing a human-readable representation of `object`.\n\njsDump is like [Mozilla’s toSource()](https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Function/toSource),\nbut it works in all modern browsers.\n\n[jsDump](http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html)\nwas originally developed by Ariel Flesler.\nThis fork based on [version 1.0.0](http://code.google.com/p/flesler-projects/source/browse/trunk/javascript/JSDump/).\n\n\nSimilar Stuff\n-------\n\n  - `JSON.stringify()`. Doesn’t serialize functions and DOM nodes.\n  - `inspect()` from [Node.js sys module](http://nodejs.org/api.html#_system_module)\n  - `repr()` from Narwhal’s util module\n  - `console._source_of()` from [Console.js](http://github.com/NV/console.js/)\n\n[NPM](http://search.npmjs.org/#/jsDump)\n---\n\n    npm install jsDump\n\nUsage:\n\n    var jsDump = require(\"jsDump\");\n    jsDump.parse({foo: 'bar', length: 0});\n\n[Tests](http://nv.github.com/jsDump/tests/)\n-----\nIn the browser:\n\n  1. `git submodule update --init`\n  2. open `tests/index.html`\n\nOr from command line:\n\n    $ narwhal tests/*_test.js\n\n\nContribution\n------------\nUse [jQuery coding style](http://docs.jquery.com/UI_Developer_Guide#Coding_Style).\nBasically, use tabs instead of spaces.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnv%2Fjsdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnv%2Fjsdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnv%2Fjsdump/lists"}