{"_id":"@contentful/rich-text-plain-text-renderer-demo","_rev":"318-d271786cc0f3c6eaa50cc9099f2832bf","name":"@contentful/rich-text-plain-text-renderer-demo","dist-tags":{"latest":"0.0.0-determined-by-semantic-release"},"versions":{"6.0.11111":{"name":"@contentful/rich-text-plain-text-renderer-demo","version":"6.0.11111","license":"MIT","_id":"@contentful/rich-text-plain-text-renderer-demo@6.0.11111","maintainers":[{"name":"axe312","email":"roetsch.beni@googlemail.com"},{"name":"cribbles","email":"csloop@wesleyan.edu"},{"name":"danwe","email":"daniel.a.r.werner@gmail.com"},{"name":"dominik.markusic","email":"dominik.markusic@contentful.com"},{"name":"eamodeorubio","email":"eamodeorubio@gmail.com"},{"name":"elblivion","email":"anthony+nonpmspam@contentful.com"},{"name":"ewakurekmqa","email":"ewa@contentful.com"},{"name":"farruco.sanjurjo","email":"farruco.sanjurjo@gmail.com"},{"name":"felipecoe","email":"felipe@contentful.com"},{"name":"guilebarbosa","email":"guipvb@gmail.com"},{"name":"hollensteiner","email":"claushollensteiner@gmail.com"},{"name":"it-internal","email":"it-internal@contentful.com"},{"name":"jakub-contentful","email":"jakub@contentful.com"},{"name":"johannes_bugiel","email":"johannes.bugiel@contentful.com"},{"name":"johanneswuerbach","email":"johannes.wuerbach@googlemail.com"},{"name":"joshuasmock","email":"f1144756@mvrht.com"},{"name":"jpawlyn","email":"jpawlyn@gmail.com"},{"name":"kgarbaya","email":"kgarbaya@gmail.com"},{"name":"lneves75","email":"luis.neves75@gmail.com"},{"name":"m10l","email":"mike.mitchell@contentful.com"},{"name":"marina-cf","email":"marina.guseva@contentful.com"},{"name":"markuslaut","email":"markus.lautenbach@contentful.com"},{"name":"martzoukos","email":"spiros@contentful.com"},{"name":"medturki","email":"mohamed@contentful.com"},{"name":"ohookins-ctf","email":"oliver@contentful.com"},{"name":"phbschmidt","email":"phoebe.schmidt@contentful.com"},{"name":"poberherr","email":"patrick.oberherr@gmail.com"},{"name":"roboben","email":"ben@contentful.com"},{"name":"ronaldronson","email":"ronald.ronson@outlook.com"},{"name":"sbezludny","email":"serg.bezludny@gmail.com"},{"name":"sey1000","email":"sey.cheon@contentful.com"},{"name":"silhoue","email":"joanna@contentful.com"},{"name":"stefanjudis","email":"stefanjudis@gmail.com"},{"name":"stupchiy","email":"sergiy@contentful.com"},{"name":"suevalov","email":"suevalov.work@gmail.com"},{"name":"thebesson","email":"tankidet@gmail.com"},{"name":"timbeyer","email":"tim.beyer@gmail.com"},{"name":"zcei","email":"stephanschndr@gmail.com"},{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"homepage":"https://github.com/contentful/rich-text#readme","bugs":{"url":"https://github.com/contentful/rich-text/issues"},"dist":{"shasum":"69cfbd2c2a6c9aaa29539ded01ef2c1df2b5ccc4","tarball":"https://registry.npmjs.org/@contentful/rich-text-plain-text-renderer-demo/-/rich-text-plain-text-renderer-demo-6.0.11111.tgz","fileCount":10,"integrity":"sha512-vGmHzVeAdAKkc7FVkVseOwxjRPVRF9PIFSBM4BXIvIduY18F+T0WIIz8iTOjZEOpJAaOeAKUOStebFVER6GoRA==","signatures":[{"sig":"MEQCIHZDMBKY6+BXlhspQ59j6O2D8+90pOBdVLa82hhzoK/RAiBBgZJkkVBUrluCKLL/KcPFiZ6bAP+eBd4eS0Q6CB3yFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0wk1CRA9TVsSAnZWagAAit8P/Ax2J/Gp9uUcHO2oAnBI\ndWtm5QjgPkBkX8tCUijQq+H365Irw7cZdXI8LW3WMjz6jUKEDpHfvKPFss1c\n8IzH3fCgmvnEHJjryHkK6p7kUvi45D1IMejsy+mh2bOoxsSB4A1NXR/0hyek\nu6XXoQJnPpDuhARwuAqCM4PCnNbZPPCQ3HSySroYb27h2ziPRI6vlxmGRTBq\nwlEB1IRm4CKsSDAYiqHgh6bSYJJtaEjvtTsg8M4x+eq7Jw/nijHMTprEM4QQ\nloy0iP5EqBiJMM/azNrmk8iQx+CeIZ4doOxXEJ7WeqJrmFSGoaDPx31B0CqZ\nowFmGbMd+FSMC90/ZwTe47PHX4F3Eho5tuAu8K1tHweqEnC86t0jfRDrm/cG\nq2wfDNmCoJnD1Y2UbOxcLLqKG+tXj4Kg5wdbQocbq0ZbByyN6ndSZpfOvAY0\naV4yxx469GA2+Koj6maoCAughdRlPN67XF1KULL2T7da+QdeJcFBSIhrj/MM\ntkpNa6GrBOorKdPU9p523sbDa+KIBhWyw77UhyEdMouuhQGvMB3rhNQTW3qf\nifLJ1zIaXEQTxAYRtWVF41qz7Lr7Xc7a+HuBUNKW6456L7ENi+eAQBYCj2Tw\nzjBqU4cIkCLQzxLircL+PGnbgIM31buvkLWPRYTFCymy3/W4rIJI0g31p9w9\nkBIU\r\n=LB21\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/rich-text-plain-text-renderer-demo.es5.js","engines":{"node":">=6.0.0"},"scripts":{"build":"tsc --module commonjs && rollup -c rollup.config.js","start":"tsc && rollup -c rollup.config.js -w","prebuild":"rimraf dist","report-coverage":"cat ./coverage/lcov.info | coveralls"},"typings":"dist/types/rich-text-plain-text-renderer-demo.d.ts","_npmUser":{"name":"cribbles","email":"csloop@wesleyan.edu"},"repository":{"url":"git+https://github.com/contentful/rich-text.git","type":"git"},"_npmVersion":"6.4.1","description":"Plain text renderer for the Rich Text document.","directories":{},"_nodeVersion":"8.11.1","dependencies":{"@semantic-release/git":"6.0.2","@semantic-release/npm":"3.4.1","semantic-release-monorepo":"^6.1.1","@semantic-release/changelog":"2.1.2","@contentful/rich-text-types-demo":"^6.0.11111"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","faker":"^4.1.0","husky":"^1.1.2","colors":"^1.1.2","git-cz":"^1.7.1","prompt":"^1.0.0","rimraf":"^2.6.2","rollup":"^0.66.6","tslint":"^5.11.0","ts-jest":"^23.10.4","ts-node":"^7.0.1","prettier":"^1.14.3","coveralls":"^3.0.2","cross-env":"^5.2.0","commitizen":"^3.0.4","typescript":"^2.6.2","@types/jest":"^22.0.0","@types/node":"^10.0.3","lint-staged":"^7.3.0","@types/faker":"^4.1.2","replace-in-file":"^3.4.2","lodash.camelcase":"^4.3.0","semantic-release":"15.6.3","@types/lodash.omit":"^4.5.3","rollup-plugin-json":"^3.1.0","travis-deploy-once":"^5.0.9","validate-commit-msg":"^2.14.0","@types/lodash.flatmap":"^4.5.3","rollup-plugin-commonjs":"^9.2.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","rollup-plugin-sourcemaps":"^0.4.2","cz-conventional-changelog":"^2.1.0","rollup-plugin-typescript2":"^0.17.2","rollup-plugin-node-resolve":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/rich-text-plain-text-renderer-demo_6.0.11111_1540557108564_0.24929857579498704","host":"s3://npm-registry-packages"}},"0.0.0-determined-by-semantic-release":{"name":"@contentful/rich-text-plain-text-renderer-demo","version":"0.0.0-determined-by-semantic-release","license":"MIT","_id":"@contentful/rich-text-plain-text-renderer-demo@0.0.0-determined-by-semantic-release","maintainers":[{"name":"axe312","email":"roetsch.beni@googlemail.com"},{"name":"cribbles","email":"csloop@wesleyan.edu"},{"name":"danwe","email":"daniel.a.r.werner@gmail.com"},{"name":"dominik.markusic","email":"dominik.markusic@contentful.com"},{"name":"eamodeorubio","email":"eamodeorubio@gmail.com"},{"name":"elblivion","email":"anthony+nonpmspam@contentful.com"},{"name":"ewakurekmqa","email":"ewa@contentful.com"},{"name":"farruco.sanjurjo","email":"farruco.sanjurjo@gmail.com"},{"name":"felipecoe","email":"felipe@contentful.com"},{"name":"guilebarbosa","email":"guipvb@gmail.com"},{"name":"hollensteiner","email":"claushollensteiner@gmail.com"},{"name":"it-internal","email":"it-internal@contentful.com"},{"name":"jakub-contentful","email":"jakub@contentful.com"},{"name":"johannes_bugiel","email":"johannes.bugiel@contentful.com"},{"name":"johanneswuerbach","email":"johannes.wuerbach@googlemail.com"},{"name":"joshuasmock","email":"f1144756@mvrht.com"},{"name":"jpawlyn","email":"jpawlyn@gmail.com"},{"name":"kgarbaya","email":"kgarbaya@gmail.com"},{"name":"lneves75","email":"luis.neves75@gmail.com"},{"name":"m10l","email":"mike.mitchell@contentful.com"},{"name":"marina-cf","email":"marina.guseva@contentful.com"},{"name":"markuslaut","email":"markus.lautenbach@contentful.com"},{"name":"martzoukos","email":"spiros@contentful.com"},{"name":"medturki","email":"mohamed@contentful.com"},{"name":"ohookins-ctf","email":"oliver@contentful.com"},{"name":"phbschmidt","email":"phoebe.schmidt@contentful.com"},{"name":"poberherr","email":"patrick.oberherr@gmail.com"},{"name":"roboben","email":"ben@contentful.com"},{"name":"ronaldronson","email":"ronald.ronson@outlook.com"},{"name":"sbezludny","email":"serg.bezludny@gmail.com"},{"name":"sey1000","email":"sey.cheon@contentful.com"},{"name":"silhoue","email":"joanna@contentful.com"},{"name":"stefanjudis","email":"stefanjudis@gmail.com"},{"name":"stupchiy","email":"sergiy@contentful.com"},{"name":"suevalov","email":"suevalov.work@gmail.com"},{"name":"thebesson","email":"tankidet@gmail.com"},{"name":"timbeyer","email":"tim.beyer@gmail.com"},{"name":"zcei","email":"stephanschndr@gmail.com"},{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"homepage":"https://github.com/contentful/rich-text#readme","bugs":{"url":"https://github.com/contentful/rich-text/issues"},"dist":{"shasum":"4d19cd404e879ba815246774df92b2e5aca13c29","tarball":"https://registry.npmjs.org/@contentful/rich-text-plain-text-renderer-demo/-/rich-text-plain-text-renderer-demo-0.0.0-determined-by-semantic-release.tgz","fileCount":10,"integrity":"sha512-KZ3PgQlKFMC+Lm+08Q3KHY+iVfl95XMLHTC2/Z66sQXTxzhh38r8+yb8t8IuE6LpMyXlJlqw8mdSaUnEyluvJQ==","signatures":[{"sig":"MEUCIQCDA8DexKbxSQfiJIg/bWR6/4NJ1D5SejrG+/wYnABInQIgcioXVRxFdqPTjq3phgPARM1GizVPSYSdoYh48tbYtCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0xqYCRA9TVsSAnZWagAA4SAP/j4Mug22fSddys4h2A9C\nkrdhcc+bQA+DpYl9KzntDQpz5IU06LwKt5R1kWqJhJjChgqwOIT/yksuygPi\nCxcofD/6ZuQFLLXLoMnx9hxGEtpDjLCLVpUCQAdSmja26eELZlP7u/TMIp8E\nQRj19FEchLuH5Bwpvx7FEoTP9XDf3uzm6/yvfJnxO4BefvvAL2QyrYQU58Ou\n2AsPCkuOc6gIpLoCi2iqK94301CJ4buEcsQ4fulHKEHg94uxSM27Bo88nzKU\nwZ2fW+CxFKWdqICwZNUGNVhkRnN1XoMso4ig2XvRi4W8r/ZP5C2m9h+rzAVP\n99a93JXwaS30D2Ll4JfnzOzkzIsxlwoqgIR0bMd8tQznfXqw6WTSXjrgGrNE\nsrVxgEKRqPfuCo66kG1PEklI2UL5Cph8/PqaCfUzCWWZ+zi2U+BYhl7X4U3+\nPDq2fg76M9ZdTZXiW3px3fiAUmSSXJkfMniu5IT2BZq280RCRN6I2Qjfk39H\np8vRxvlwb/mptFjwsfJ3QYIymHvvtz0P9bcjJI16/U/54ECHinXsNChA0drF\nEYaY6Cebc7CSsf+xnlUzSMbpxluQt87CydWbKP5dJymbXy8zNLp5RHpUCqXP\nNV7aTd6majyAOynCou1WA8ozZ1SJZ6FHWHx2qEYm4/5NYv2pgA7BGYNde8Bx\nTuGk\r\n=n+v4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/rich-text-plain-text-renderer-demo.es5.js","engines":{"node":">=6.0.0"},"scripts":{"build":"tsc --module commonjs && rollup -c rollup.config.js","start":"tsc && rollup -c rollup.config.js -w","prebuild":"rimraf dist","report-coverage":"cat ./coverage/lcov.info | coveralls"},"typings":"dist/types/rich-text-plain-text-renderer-demo.d.ts","_npmUser":{"name":"cribbles","email":"csloop@wesleyan.edu"},"repository":{"url":"git+https://github.com/contentful/rich-text.git","type":"git"},"_npmVersion":"6.4.1","description":"Plain text renderer for the Rich Text document.","directories":{},"_nodeVersion":"8.11.1","dependencies":{"@semantic-release/git":"6.0.2","@semantic-release/npm":"3.4.1","semantic-release-monorepo":"^6.1.1","@semantic-release/changelog":"2.1.2","@contentful/rich-text-types-demo":"^0.0.0-determined-by-semantic-release"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","faker":"^4.1.0","husky":"^1.1.2","colors":"^1.1.2","git-cz":"^1.7.1","prompt":"^1.0.0","rimraf":"^2.6.2","rollup":"^0.66.6","tslint":"^5.11.0","ts-jest":"^23.10.4","ts-node":"^7.0.1","prettier":"^1.14.3","coveralls":"^3.0.2","cross-env":"^5.2.0","commitizen":"^3.0.4","typescript":"^2.6.2","@types/jest":"^22.0.0","@types/node":"^10.0.3","lint-staged":"^7.3.0","@types/faker":"^4.1.2","replace-in-file":"^3.4.2","lodash.camelcase":"^4.3.0","semantic-release":"15.6.3","@types/lodash.omit":"^4.5.3","rollup-plugin-json":"^3.1.0","travis-deploy-once":"^5.0.9","validate-commit-msg":"^2.14.0","@types/lodash.flatmap":"^4.5.3","rollup-plugin-commonjs":"^9.2.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","rollup-plugin-sourcemaps":"^0.4.2","cz-conventional-changelog":"^2.1.0","rollup-plugin-typescript2":"^0.17.2","rollup-plugin-node-resolve":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/rich-text-plain-text-renderer-demo_0.0.0-determined-by-semantic-release_1540561559712_0.8394706991098557","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-10-26T12:31:48.421Z","modified":"2026-05-28T10:29:20.763Z","6.0.11111":"2018-10-26T12:31:48.708Z","0.0.0-determined-by-semantic-release":"2018-10-26T13:45:59.882Z"},"bugs":{"url":"https://github.com/contentful/rich-text/issues"},"license":"MIT","homepage":"https://github.com/contentful/rich-text#readme","repository":{"url":"git+https://github.com/contentful/rich-text.git","type":"git"},"description":"Plain text renderer for the Rich Text document.","maintainers":[{"email":"it-internal@contentful.com","name":"it-internal"},{"email":"npm@contentful.com","name":"whydah-gally"},{"email":"team-mechagodzilla@contentful.com","name":"contentful-ecosystem"},{"email":"michael.pearce@contentful.com","name":"michaelpearce"}],"readme":"# rich-text-plain-text-renderer-demo\nPlain text renderer for the Rich Text document.\n\n## Installation\nUsing [npm](http://npmjs.org/):\n\n```javascript\nnpm install @contentful/rich-text-plain-text-renderer-demo\n```\n\nUsing [yarn](https://yarnpkg.com/):\n```javascript\nyarn add @contentful/rich-text-plain-text-renderer-demo\n```\n\n## Usage\n\n```javascript\nimport { documentToPlainTextString } from '@contentful/rich-text-plain-text-renderer-demo';\n\nconst document = {\n  nodeType: 'document',\n  nodeClass: 'document',\n  content: [\n    {\n      nodeClass: 'block',\n      nodeType: 'paragraph',\n      content: [\n        {\n          nodeClass: 'text',\n          nodeType: 'text',\n          value: 'Hello',\n          marks: [{ nodeType: 'bold' }]\n        },\n        {\n          nodeClass: 'text',\n          nodeType: 'text',\n          value: ' world!',\n          marks: [{ nodeType: 'italic' }]\n        },\n      ],\n    },\n  ]\n};\n\ndocumentToPlainTextString(document); // -> Hello world!\n```\n","readmeFilename":"README.md"}