├── .eslintrc ├── .gitignore ├── .travis.yml ├── README.md ├── gulpfile.js ├── lib ├── cli.js └── tree-stringify.js ├── package.json └── test ├── .eslintrc ├── fixtures ├── array.input.json ├── array.output.txt ├── nested.input.json ├── nested.output.txt ├── no-wrap.input.json ├── no-wrap.output.txt ├── object.input.json ├── object.output.txt ├── types.input.json ├── types.output.txt ├── wrap.input.json └── wrap.output.txt └── tree-stringify.test.js /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | npm-debug.log 3 | .DS_Store 4 | /coverage 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/README.md -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/gulpfile.js -------------------------------------------------------------------------------- /lib/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/lib/cli.js -------------------------------------------------------------------------------- /lib/tree-stringify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/lib/tree-stringify.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/package.json -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/.eslintrc -------------------------------------------------------------------------------- /test/fixtures/array.input.json: -------------------------------------------------------------------------------- 1 | [ 2 | 1, 3 | "two" 4 | ] 5 | -------------------------------------------------------------------------------- /test/fixtures/array.output.txt: -------------------------------------------------------------------------------- 1 | ├─ 1 2 | └─ two 3 | -------------------------------------------------------------------------------- /test/fixtures/nested.input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/nested.input.json -------------------------------------------------------------------------------- /test/fixtures/nested.output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/nested.output.txt -------------------------------------------------------------------------------- /test/fixtures/no-wrap.input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/no-wrap.input.json -------------------------------------------------------------------------------- /test/fixtures/no-wrap.output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/no-wrap.output.txt -------------------------------------------------------------------------------- /test/fixtures/object.input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/object.input.json -------------------------------------------------------------------------------- /test/fixtures/object.output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/object.output.txt -------------------------------------------------------------------------------- /test/fixtures/types.input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/types.input.json -------------------------------------------------------------------------------- /test/fixtures/types.output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/types.output.txt -------------------------------------------------------------------------------- /test/fixtures/wrap.input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/wrap.input.json -------------------------------------------------------------------------------- /test/fixtures/wrap.output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/fixtures/wrap.output.txt -------------------------------------------------------------------------------- /test/tree-stringify.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmck/tree-stringify/HEAD/test/tree-stringify.test.js --------------------------------------------------------------------------------