{"_id":"@sanity/block-content-to-tree","_rev":"194-1f2f83175067b68f37c32b683ccffdc2","name":"@sanity/block-content-to-tree","dist-tags":{"next":"0.2.4-next","latest":"0.3.0"},"versions":{"0.0.1":{"name":"@sanity/block-content-to-tree","version":"0.0.1","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.0.1","maintainers":[{"name":"sanity-io","email":"hello@sanity.io"}],"homepage":"https://github.com/sanity-io/block-content-adapter#readme","bugs":{"url":"https://github.com/sanity-io/block-content-adapter/issues"},"umd":"umd/index.min.js","dist":{"shasum":"64393da6bb62ed9a99e136743194d61b9a8b94ae","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.0.1.tgz","integrity":"sha512-tY1mwOqZ/rCSC6CzhD3vL8e/oU+4TJa84QJ5PWHW8a6FqgkBdNMh8Qe34Ur5Ebay+A5fxQPsHCn9DhPjMSASog==","signatures":[{"sig":"MEUCIQDP4FQQYQK3xA/VNtA7dRa/Zc5lDta/Wg9BLAoFLDNqSAIgW9Loo2y8XEGsh8hJ6hzLrxqAAnx7V5nGZlfoMkZlMIE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"64393da6bb62ed9a99e136743194d61b9a8b94ae","gitHead":"8a08dced4ca02aad522048490af72b321ca23566","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-adapter.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0","lodash.omit":"^4.5.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.0.1.tgz_1491399095025_0.9252461544238031","host":"packages-12-west.internal.npmjs.com"}},"0.0.2":{"name":"@sanity/block-content-to-tree","version":"0.0.2","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.0.2","maintainers":[{"name":"bengler-adm","email":"billing@bengler.no"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jorngeorg","email":"jorn@voyoslo.com"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"b92a37cfd58d64a2e3b911046c45485b6736e55e","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.0.2.tgz","integrity":"sha512-PCEe+txghntb1pCn4HSXRlf4q2r0hypc3VW5yMABNSob8nMIiZmEXP89YpS5uUnohcBmLf0Zr4VwRqE0p+4MvQ==","signatures":[{"sig":"MEUCIExmDazMy1/3RWMNNXLh3UMancfHjpLcOqWa95+w8DBhAiEArj/dBZs+vIIJCDba6QWIAvzOUeoMJfzE3MNImRvAv88=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"b92a37cfd58d64a2e3b911046c45485b6736e55e","gitHead":"98e0e05adc873877c87ccfd41eac4baf9534ef4d","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0","lodash.omit":"^4.5.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.0.2.tgz_1491399281569_0.5616230478044599","host":"packages-12-west.internal.npmjs.com"}},"0.0.3":{"name":"@sanity/block-content-to-tree","version":"0.0.3","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.0.3","maintainers":[{"name":"bengler-adm","email":"billing@bengler.no"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jorngeorg","email":"jorn@voyoslo.com"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"31e1adbc0859f223fdd34314bc9e714731c3d360","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.0.3.tgz","integrity":"sha512-BslIzyiYP3+3elWOWpWzcL1wPECznGESZgoCrdsaD3SSVK0Abq/P/1rpmJKLXdufgsBCC7xvtIfGwUKELC2Rlg==","signatures":[{"sig":"MEUCIGCivenqvPnD2ygDu53m71p+fFDmTtWkfsi4TmLKL3fLAiEAwnZvtZhy92ykkXUk4eksZn2B/XCFkVCbcKj90tjtCSg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"31e1adbc0859f223fdd34314bc9e714731c3d360","gitHead":"a489f0a7368725c37e6ff5b94184d44275e88538","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0","lodash.omit":"^4.5.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.0.3.tgz_1491470396200_0.5769700985401869","host":"packages-18-east.internal.npmjs.com"}},"0.0.4":{"name":"@sanity/block-content-to-tree","version":"0.0.4","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.0.4","maintainers":[{"name":"bengler-adm","email":"billing@bengler.no"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jorngeorg","email":"jorn@voyoslo.com"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"b1e13ff8760422e9670faa6cf6076075b7e91876","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.0.4.tgz","integrity":"sha512-zffrewuhhC8PNZGM4Yz7JdxEL6Ou4aXXd+M8OXT7PdH0leUfiD4xSMhd+hXr7OluMcXGGl98VlGw1T5aKqwIsw==","signatures":[{"sig":"MEQCICpN/U1db2AB6EiCu8YbUY4W3ns8NLW7MVQyUIGRWkihAiAsdfRLsZe+0C6ieEmhJ3qXK8AQvvVrW7QHdlzseQLbhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"b1e13ff8760422e9670faa6cf6076075b7e91876","gitHead":"e20df102a7a5b1dac603a2707351eaff2c28f5a4","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.0.4.tgz_1491470769503_0.08573950757272542","host":"packages-18-east.internal.npmjs.com"}},"0.0.5":{"name":"@sanity/block-content-to-tree","version":"0.0.5","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.0.5","maintainers":[{"name":"bengler-adm","email":"billing@bengler.no"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jorngeorg","email":"jorn@voyoslo.com"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"ab473a0f50ce02ae3a131c4ffc7366ea7313b034","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.0.5.tgz","integrity":"sha512-B3o/RfS4f4K1/nODeshtTZRsL/OQtuwJ/8dTyedDBNGLqRNbuH9WsOywAzL9noA/Xjg2aPtb7yPLIY6q7exTtw==","signatures":[{"sig":"MEUCID7qYcT/xX1ysJWe8C9ELYn8kLwRClCzERrhTEs5pEgMAiEA3lxR54xF2wASkooKLBB0nUDGaEXrdnsIrb8LV0U9DMc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"ab473a0f50ce02ae3a131c4ffc7366ea7313b034","gitHead":"150804a6d4bcaa29b893713abc1ca3cd9b916389","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.0.5.tgz_1491475419810_0.7955642365850508","host":"packages-12-west.internal.npmjs.com"}},"0.1.0":{"name":"@sanity/block-content-to-tree","version":"0.1.0","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.1.0","maintainers":[{"name":"bengler-adm","email":"billing@bengler.no"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jorngeorg","email":"jorn@voyoslo.com"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"6bc47cffa74751df879db9e49d0200ef4cd30291","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.1.0.tgz","integrity":"sha512-6HmrIoHDWpCIWEMSZFN9FwCYGExYkeRYWXaZw3eXDCcIq1EVqz3YNlCB/WsnsrLvCJqq9J+xEJ6GT1dsVWfEuw==","signatures":[{"sig":"MEQCID+gkLoL4OVb9BYDYr8EHGX9k3qkpvKT6jFgQw+dBRPqAiAwtRmgjtqbnRG7y4tgkUwt2y92oRcBnI0cpNiNTXWA2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"6bc47cffa74751df879db9e49d0200ef4cd30291","gitHead":"7650efd0cfb80fe3c56dff9b5bdf063fa0c86ebb","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.1.0.tgz_1491557404359_0.2790810849983245","host":"packages-12-west.internal.npmjs.com"}},"0.1.1":{"name":"@sanity/block-content-to-tree","version":"0.1.1","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.1.1","maintainers":[{"name":"bengler-adm","email":"billing@bengler.no"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jorngeorg","email":"jorn@voyoslo.com"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"7867503161537107eaa2787741e7ee08877d8317","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.1.1.tgz","integrity":"sha512-9SUAxJ63dRuW5mOfShBXcY4RtobsK3MnKuy+rtVLwpQLnxWTGL9P7iaQh2KOAvgQu74Qmj2fC6EgSYWNaT5wxg==","signatures":[{"sig":"MEYCIQDQGqSzu96sksj5X/OxdShV0IE2XQjSlUjhcB81vMKdTgIhAOIO8zaYxkDUiYcIcQ9apiCGr8cRV1ZAmzWuhEqxCHPe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"7867503161537107eaa2787741e7ee08877d8317","gitHead":"8afd3c3056bbecec2844bcc79d0bb699f53364a0","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.1.1.tgz_1491557728483_0.19182580476626754","host":"packages-12-west.internal.npmjs.com"}},"0.1.2":{"name":"@sanity/block-content-to-tree","version":"0.1.2","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.1.2","maintainers":[{"name":"bengler-adm","email":"billing@bengler.no"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"jorngeorg","email":"jorn@voyoslo.com"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"91d2f31e4cdcecd70ccafbcb5e7511e8b8ada569","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.1.2.tgz","integrity":"sha512-OMrEhJzvdWP8dvVo5Qjcbsszc1Hyl17RuMN9Db7YIjNGR0udoXMhwLMnmAyKTrFGj8Q7OycpZRjfVQL3c7nIXw==","signatures":[{"sig":"MEYCIQCXFpAUwyHatYzLPBIovzfImvIXjNma0zGEoCFfAQ6QmQIhANrU+NJqK+zOsb0SrV79/gR3rQJeDWc1fK7aLEUkY38f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"91d2f31e4cdcecd70ccafbcb5e7511e8b8ada569","gitHead":"3da8cd11a51d434a4e555fef5c3a6f7cac22378a","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"tap --node-arg=--require --node-arg=babel-register test/*.test.js","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage .nyc_output umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"sanity-io","email":"hello@sanity.io"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"6.5.0","dependencies":{"in-publish":"^2.0.0"},"devDependencies":{"nyc":"^10.0.0","tap":"^8.0.1","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","babel-eslint":"^7.1.1","pretty-bytes":"^4.0.2","babel-register":"^6.22.0","babel-preset-es2015":"^6.22.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.1.2.tgz_1491574976048_0.6614159846212715","host":"packages-12-west.internal.npmjs.com"}},"0.1.2-next":{"name":"@sanity/block-content-to-tree","version":"0.1.2-next","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.1.2-next","maintainers":[{"name":"kristofferj","email":"kristoffer@bengler.no"},{"name":"simenss","email":"simen@bengler.no"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"bjoerge","email":"bjoerge@gmail.com"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"f78c948ff8b8ba40014e0e935b77150d20ba410c","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.1.2-next.tgz","integrity":"sha512-vAbdo/InlKM2VtU97hak/19dQjbvyq6rYCaPzbhzMgOYF09OXvD88FKxYvAe2O48wWgkPklzzYqHAUXJeOG86A==","signatures":[{"sig":"MEYCIQDLkc6895Xy5R7XXlwf5DubAx4wx8xrXEMNVPj+5ZOqhwIhAKduJv1lbXoC4tqxbuBI8CQom+leb4xmGqmV8NWJiLVR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","browser":{"./lib/keyGenerators/node.js":"./lib/keyGenerators/browser.js","./src/keyGenerators/node.js":"./src/keyGenerators/browser.js"},"gitHead":"84da4b524227c12ce17d979e0f944659436f7286","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"jest","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"jest --coverage","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"rexxars","email":"rexxars@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"5.4.0","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"8.2.1","dependencies":{"in-publish":"^2.0.0","object-assign":"^4.1.1"},"devDependencies":{"jest":"^21.0.2","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","prettier":"^1.6.1","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","pretty-bytes":"^4.0.2","babel-preset-env":"^1.6.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","eslint-config-prettier":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.1.2-next.tgz_1505151100239_0.9121130907442421","host":"s3://npm-registry-packages"}},"0.2.0-next":{"name":"@sanity/block-content-to-tree","version":"0.2.0-next","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.2.0-next","maintainers":[{"name":"kristofferj","email":"kristoffer@bengler.no"},{"name":"simenss","email":"simen@bengler.no"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"bjoerge","email":"bjoerge@gmail.com"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"989b7743d6b4b5a149bc3bf0f3e56bbd5fd88a7b","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.2.0-next.tgz","integrity":"sha512-ysbu8LikkYd5czsU1pvyDCXs72IaSy0Xmhnoq6ESw6DAwtarJKDgkZwpfOSGE3Z63dLJFA3CxS2vkvZC+e4OCA==","signatures":[{"sig":"MEYCIQCKoNXBAPx+Wvl0Amn9rk3qyrGj6FwbCcDBnDSX5ckJ5wIhAM1yFVaXUKcgtkyQ36L7u6RpRJbVx2oHbKWYnZe+FSrE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","gitHead":"8a16de1de370f7b78af357394168bbbbc977b47d","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"jest","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"jest --coverage","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"rexxars","email":"rexxars@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"5.4.0","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"8.2.1","dependencies":{"in-publish":"^2.0.0","object-assign":"^4.1.1"},"devDependencies":{"jest":"^21.0.2","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","prettier":"^1.6.1","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","pretty-bytes":"^4.0.2","babel-preset-env":"^1.6.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","eslint-config-prettier":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.2.0-next.tgz_1505152355787_0.18057394120842218","host":"s3://npm-registry-packages"}},"0.2.4-next":{"name":"@sanity/block-content-to-tree","version":"0.2.4-next","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.2.4-next","maintainers":[{"name":"kristofferj","email":"kristoffer@bengler.no"},{"name":"simenss","email":"simen@bengler.no"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"bjoerge","email":"bjoerge@gmail.com"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"f79ad35f1a5b0e6666efc7ddcd7e9499a94b6506","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.2.4-next.tgz","integrity":"sha512-rYiIqldDNBVJXtYKJfaJ+hNJvLWTMl2Nvlur0p6aSewmWzhh/bnowthhVyRBx0POxRdT9nQomQ/9jxNf1Syshg==","signatures":[{"sig":"MEQCIGeXCLqwLntCbqob9gZBfxivuJuZZ7HV/0y7KHVftODiAiBLEu08sM9+SSgFlgATCLoiPL9IphRYaIdpSH94Lp19NQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","gitHead":"c320f78381fb3731fc13d89939ab247fe0a34309","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"jest","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"jest --coverage","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"rexxars","email":"rexxars@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"5.4.2","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"8.2.1","dependencies":{"in-publish":"^2.0.0","object-assign":"^4.1.1"},"devDependencies":{"jest":"^21.0.2","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","prettier":"^1.6.1","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","pretty-bytes":"^4.0.2","babel-preset-env":"^1.6.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","eslint-config-prettier":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.2.4-next.tgz_1505826250308_0.2159116161055863","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@sanity/block-content-to-tree","version":"0.3.0","keywords":[],"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","_id":"@sanity/block-content-to-tree@0.3.0","maintainers":[{"name":"kristofferj","email":"kristoffer@bengler.no"},{"name":"simenss","email":"simen@bengler.no"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"thomax","email":"thomas@bengler.no"},{"name":"rexxars","email":"rexxars@gmail.com"},{"name":"sanity-io","email":"hello@sanity.io"},{"name":"bjoerge","email":"bjoerge@gmail.com"}],"homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"umd":"umd/index.min.js","dist":{"shasum":"0778c9c7019aa74550fa49ca4011c1456ee585f5","tarball":"https://registry.npmjs.org/@sanity/block-content-to-tree/-/block-content-to-tree-0.3.0.tgz","integrity":"sha512-5SQILBHFaf2oMiQLxlOEdxU1rjMB1TG4mNdWl8jc6S+y04fulgPYI14P/LFxGzSwnx/ZXLUYkKAIrkxAbjmmyw==","signatures":[{"sig":"MEUCIQDC21/SN8Q5tEmBeN9OLLeXE7egmpExGEGz4SSkfp9kAwIgTCJpqF0s9xwyrjLRyJonoSORUgd1k6OIyQEC6pu2ffs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","gitHead":"b5cd4d521a4a511979e65e5313371cb07ea9bae7","scripts":{"size":"node -r babel-register src/scripts/print-bundle-size","test":"jest","build":"npm run clean && npm run compile && npm run browserify && npm run minify && npm run size","clean":"rimraf lib coverage umd/*.js","watch":"npm run compile -- --watch","minify":"uglifyjs -c -m -- umd/index.js > umd/index.min.js","compile":"babel --source-maps --copy-files -d lib/ src/","coverage":"jest --coverage","posttest":"eslint .","browserify":"NODE_ENV=production BROWSERIFY_ENV=build browserify -t envify -g uglifyify lib/index.js -o umd/index.js --standalone=BlockContentAdapter","prepublish":"in-publish && npm run build || not-in-publish","postpublish":"npm run clean"},"_npmUser":{"name":"rexxars","email":"rexxars@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"_npmVersion":"5.4.2","description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","directories":{},"_nodeVersion":"8.2.1","dependencies":{"in-publish":"^2.0.0","object-assign":"^4.1.1"},"devDependencies":{"jest":"^21.0.2","boxen":"^0.8.1","chalk":"^1.1.3","envify":"^4.0.0","eslint":"^3.13.1","rimraf":"^2.5.4","prettier":"^1.6.1","babel-cli":"^6.22.2","gzip-size":"^3.0.0","uglify-js":"^2.7.3","uglifyify":"^3.0.4","browserify":"^13.1.1","pretty-bytes":"^4.0.2","babel-preset-env":"^1.6.0","eslint-config-sanity":"^2.0.1","eslint-plugin-import":"^2.2.0","eslint-config-prettier":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/block-content-to-tree-0.3.0.tgz_1505829456728_0.8734387666918337","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-04-05T13:31:36.879Z","modified":"2026-04-08T15:17:35.753Z","0.0.1":"2017-04-05T13:31:36.879Z","0.0.2":"2017-04-05T13:34:43.505Z","0.0.3":"2017-04-06T09:19:56.972Z","0.0.4":"2017-04-06T09:26:09.923Z","0.0.5":"2017-04-06T10:43:41.556Z","0.1.0":"2017-04-07T09:30:06.376Z","0.1.1":"2017-04-07T09:35:30.451Z","0.1.2":"2017-04-07T14:22:57.964Z","0.1.2-next":"2017-09-11T17:31:41.590Z","0.2.0-next":"2017-09-11T17:52:37.443Z","0.2.4-next":"2017-09-19T13:04:11.519Z","0.3.0":"2017-09-19T13:57:37.761Z"},"bugs":{"url":"https://github.com/sanity-io/block-content-to-tree-js/issues"},"author":{"name":"Sanity","email":"hello@sanity.io"},"license":"MIT","homepage":"https://github.com/sanity-io/block-content-to-tree-js#readme","keywords":[],"repository":{"url":"git+https://github.com/sanity-io/block-content-to-tree-js.git","type":"git"},"description":"Converts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats.","maintainers":[{"email":"svc.npm@sanity.io","name":"sanity-svc.npm"},{"email":"developers@sanity.io","name":"sanity-io"}],"readme":"# block-content-to-tree-js\n\nConverts the flat Sanity block content structure into a generic tree structure for easier transformation into other formats (HTML, React etc).\n\n## Installation\n\n``npm install --save @sanity/block-content-to-tree``\n\n## Quick example\n\n```js\n\n// The flat block content structure\nconst data = {\n  \"_type\": \"block\",\n  \"style\": \"normal\",\n  \"spans\": [\n    {\n      \"_type\": \"span\",\n      \"text\": \"String with an \",\n      \"marks\": []\n    },\n    {\n      \"_type\": \"span\",\n      \"text\": \"italicized\",\n      \"marks\": [\n        \"em\"\n      ]\n    },\n    {\n      \"_type\": \"span\",\n      \"text\": \" word.\",\n      \"marks\": []\n    }\n  ]\n}\n\n\n// Now convert it with block-content-to-tree\nconst BlockContentToTree = require('@sanity/block-content-to-tree')\nconst blockContentToTree = new BlockContentToTree()\n\nconst tree = blockContentToTree.convert(data)\n```\n\nThis will result in the variable ``tree`` being:\n\n```js\n{\n    type: 'block',\n    style: 'normal',\n    content: [\n      'String with an ',\n      {\n        type: 'span',\n        attributes: {},\n        mark: 'em',\n        content: [\n          'italicized'\n        ]\n      },\n      ' word.'\n    ]\n  }\n```\n\n## Entities\n\n### Block (text)\n\n```js\n{\n  type: 'block',\n  style: 'normal' // Text style\n  mark: 'em', // Mark indicating all content is wrapped in bold.\n  content: [\n    'Hello world! ', // Span with no marks or attributes (plain text).\n    {\n      type: 'span',\n      // Data attributes for this span\n      attributes: {link: {href: 'http://...'}},\n      mark: 'strong',\n      // The  text content for the span\n      // Always an array with a single plain text.\n      // An array to keep format consistent with block.content.\n      content: [\n        'I am a link!'\n      ]\n    }\n  ]\n}\n\n```\n\n### List\n\nRoot element\n\n```js\n{\n  type: 'list',\n  itemStyle: 'bullet' // The list style\n  // Items are blocks (see above)\n  items: [\n    {block},\n    {block}\n  ]\n}\n\n```\n\n### Custom blocks\n\n```js\n{\n  type: 'author' // Whatever, but never 'block' (built in type)\n  attributes: { // Custom attributes for the type\n    name: 'John Ronald Reuel Tolkien',\n  }\n}\n```\n\n## More information / examples\n\nPlease see the tests.\n\n\n## License\n\nMIT-licensed\n","readmeFilename":"README.md"}