{"id":18644737,"url":"https://github.com/hjson/grunt-hjson","last_synced_at":"2025-06-29T23:32:39.707Z","repository":{"id":24119336,"uuid":"27507714","full_name":"hjson/grunt-hjson","owner":"hjson","description":"Hjson plugin for Grunt.","archived":false,"fork":false,"pushed_at":"2017-06-20T21:04:02.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-22T23:46:37.652Z","etag":null,"topics":["grunt","hjson"],"latest_commit_sha":null,"homepage":"https://hjson.github.io/","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/hjson.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":"2014-12-03T21:06:25.000Z","updated_at":"2022-05-10T19:18:44.000Z","dependencies_parsed_at":"2022-07-24T00:00:38.475Z","dependency_job_id":null,"html_url":"https://github.com/hjson/grunt-hjson","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hjson/grunt-hjson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjson%2Fgrunt-hjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjson%2Fgrunt-hjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjson%2Fgrunt-hjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjson%2Fgrunt-hjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hjson","download_url":"https://codeload.github.com/hjson/grunt-hjson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjson%2Fgrunt-hjson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262685118,"owners_count":23348409,"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":["grunt","hjson"],"created_at":"2024-11-07T06:13:26.408Z","updated_at":"2025-06-29T23:32:39.657Z","avatar_url":"https://github.com/hjson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-hjson\n\n[![Build Status](https://img.shields.io/travis/hjson/grunt-hjson.svg?style=flat-square)](http://travis-ci.org/hjson/grunt-hjson)\n[![NPM version](https://img.shields.io/npm/v/grunt-hjson.svg?style=flat-square)](http://www.npmjs.com/package/grunt-hjson)\n\nHjson plugin for grunt, converts from and to JSON.\n\n[Hjson](http://hjson.org), the Human JSON. A configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.\n\nFor details and syntax see [hjson.org](http://hjson.org).\n\n## Usage\n\nFirst, install `grunt-hjson` as a development dependency:\n\n```shell\nnpm install --save-dev grunt-hjson\n```\n\nThen, add it to your `gruntfile.js`:\n\n```javascript\nmodule.exports = function(grunt) {\n\n  grunt.initConfig({\n    pkg: grunt.file.readJSON('package.json'),\n    hjson: {\n      cvt: {\n        files: [\n          {\n            expand: true,\n            cwd: 'src/',\n            src: ['*.hjson'],\n            dest: 'dist/',\n            ext: '.json',\n          },\n        ],\n      }\n    }\n  });\n\n  grunt.loadNpmTasks('grunt-hjson');\n\n  grunt.registerTask('default', ['hjson']);\n};\n```\n\nTo convert to Hjson specify the `.hjson` extension in `ext`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjson%2Fgrunt-hjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhjson%2Fgrunt-hjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjson%2Fgrunt-hjson/lists"}