{"id":20373062,"url":"https://github.com/gluons/gulp-json2cson","last_synced_at":"2026-05-07T18:16:16.845Z","repository":{"id":57258051,"uuid":"55214370","full_name":"gluons/gulp-json2cson","owner":"gluons","description":"Gulp plugin to parse JSON to CSON","archived":false,"fork":false,"pushed_at":"2020-07-17T13:33:04.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T18:24:31.569Z","etag":null,"topics":["coffee-script","coffeescript","cson","gulp","gulp-plugin","gulpplugin","json"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/gluons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-01T07:59:05.000Z","updated_at":"2020-07-17T13:32:57.000Z","dependencies_parsed_at":"2022-08-25T21:23:34.601Z","dependency_job_id":null,"html_url":"https://github.com/gluons/gulp-json2cson","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluons%2Fgulp-json2cson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluons%2Fgulp-json2cson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluons%2Fgulp-json2cson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gluons%2Fgulp-json2cson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gluons","download_url":"https://codeload.github.com/gluons/gulp-json2cson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241921836,"owners_count":20042763,"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":["coffee-script","coffeescript","cson","gulp","gulp-plugin","gulpplugin","json"],"created_at":"2024-11-15T01:16:21.881Z","updated_at":"2026-05-07T18:16:11.821Z","avatar_url":"https://github.com/gluons.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-json2cson\n[![GitHub license](https://img.shields.io/github/license/gluons/gulp-json2cson.svg?style=flat-square)]()\n[![npm](https://img.shields.io/npm/v/gulp-json2cson.svg?style=flat-square)](https://www.npmjs.com/package/gulp-json2cson)\n[![npm](https://img.shields.io/npm/dt/gulp-json2cson.svg?style=flat-square)](https://www.npmjs.com/package/gulp-json2cson)\n[![Travis](https://img.shields.io/travis/gluons/gulp-json2cson.svg?style=flat-square)](https://travis-ci.org/gluons/gulp-json2cson)\n\n[Gulp](http://gulpjs.com/) plugin to parse JSON to CSON with [bevry/cson](https://github.com/bevry/cson).\n\nIf you want to parse CSON to JSON, use [gulp-cson](https://github.com/stevelacy/gulp-cson).\n\n## Installation\n\n[![NPM](https://nodei.co/npm/gulp-json2cson.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://www.npmjs.com/package/gulp-json2cson)\n\n**Via [npm](https://www.npmjs.com/):**\n\n```\nnpm install --save-dev gulp-json2cson\n```\n\n**Via [Yarn](https://yarnpkg.com/):**\n\n```\nyarn add --dev gulp-json2cson\n```\n\n## Usage\n\n```javascript\nconst gulp = require('gulp');\nconst json2cson = require('gulp-json2cson');\n\ngulp.task('json2cson', () =\u003e {\n\treturn gulp.src('src/data.json')\n\t\t.pipe(json2cson())\n\t\t.pipe(gulp.dest('dest'));\n});\n```\n\n## API\n\n### json2cson(indent)\n\nParse JSON to CSON with desired indentation.\n\n```javascript\nconst gulp = require('gulp');\nconst json2cson = require('gulp-json2cson');\n\ngulp.task('json2cson', () =\u003e {\n\treturn gulp.src('src/data.json')\n\t\t.pipe(json2cson('\\t'))\n\t\t.pipe(gulp.dest('dest'));\n});\n```\n\n#### indent\nType: `String`  \nDefault: `  ` (2 spaces)\n\nIndentation characters.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgluons%2Fgulp-json2cson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgluons%2Fgulp-json2cson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgluons%2Fgulp-json2cson/lists"}