{"id":21245273,"url":"https://github.com/jstransformers/jstransformer-cdata","last_synced_at":"2025-07-10T22:31:00.712Z","repository":{"id":27370902,"uuid":"30846432","full_name":"jstransformers/jstransformer-cdata","owner":"jstransformers","description":"Transform a string to an XML CDATA.","archived":false,"fork":false,"pushed_at":"2020-04-26T03:21:55.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-14T10:40:57.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npmjs.com/jstransformer-cdata","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jstransformers.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-15T23:32:51.000Z","updated_at":"2021-09-13T19:23:03.000Z","dependencies_parsed_at":"2022-08-31T19:21:12.061Z","dependency_job_id":null,"html_url":"https://github.com/jstransformers/jstransformer-cdata","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-cdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-cdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-cdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-cdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstransformers","download_url":"https://codeload.github.com/jstransformers/jstransformer-cdata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225658516,"owners_count":17503663,"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-11-21T01:49:42.605Z","updated_at":"2024-11-21T01:49:43.131Z","avatar_url":"https://github.com/jstransformers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jstransformer-cdata\n\n[JSTransformer](http://github.com/jstransformers) that converts a string to an XML CDATA.\n\n[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-cdata/master.svg)](https://travis-ci.org/jstransformers/jstransformer-cdata)\n[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-cdata/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-cdata)\n[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-cdata/master.svg)](http://david-dm.org/jstransformers/jstransformer-cdata)\n[![NPM version](https://img.shields.io/npm/v/jstransformer-cdata.svg)](https://www.npmjs.org/package/jstransformer-cdata)\n\n## Installation\n\n    npm install jstransformer-cdata\n\n## API\n\n```js\nvar cdata = require('jstransformer')(require('jstransformer-cdata'))\n\ncdata.render('hello world').body\n//=\u003e '\u003c![CDATA[hello world]]\u003e'\n\n// ']]\u003e' is properly escaped\ncdata.render('\u003c[[goodbye world]]\u003e').body\n//=\u003e '\u003c![CDATA[\u003c[[goodbye world]]]]\u003e\u003c![CDATA[\u003e]]\u003e'\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-cdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstransformers%2Fjstransformer-cdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-cdata/lists"}