{"id":18096220,"url":"https://github.com/bredele/con","last_synced_at":"2025-04-13T10:04:47.161Z","repository":{"id":15841648,"uuid":"18581657","full_name":"bredele/con","owner":"bredele","description":"Console Object Notation - JSON from your console","archived":false,"fork":false,"pushed_at":"2014-04-10T16:58:05.000Z","size":216,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T11:17:45.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bredele.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-09T01:53:34.000Z","updated_at":"2021-01-27T22:13:28.000Z","dependencies_parsed_at":"2022-08-04T06:45:20.509Z","dependency_job_id":null,"html_url":"https://github.com/bredele/con","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bredele","download_url":"https://codeload.github.com/bredele/con/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248695437,"owners_count":21146954,"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-10-31T19:13:04.718Z","updated_at":"2025-04-13T10:04:47.141Z","avatar_url":"https://github.com/bredele.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# con\n\n  \u003e JSON in your console\n\n Con is a french bad word but it's also a cli to manipulate JSON directly from your console. \n\n\n## Installation\n\n Install with [nodejs](http://nodejs.org):\n\n    $ npm install -g con\n\n## Usage\n\n ```\nUsage: con [\u003cfile\u003e]\n\nExamples:\n\n  # get name attribute:\n  $ con file.json get name\n\n  # set name attribute:\n  $ con file.json set name bredele\n\n  # enable awesome attribute:\n  $ con file.json enable awesome\n\n  # disable awesome attribute:\n  $ con file.json disable awesome\n\n  # bump version\n  $ con file.json bump\n  \n```\n\nIf `file` is not specified, con will automatically look for `component.json`, `bower.json` and `package.json` and apply the command. Here's an example:\n\n```\n  con bump 0.2.0\n```\n\n### Nested properties\n\n You also can set/get nested properties:\n\nset:\n```\n  con file.json path author.name 'bredele'\n```\n\nget:\n```\n  con file.json path author.name\n```\n\n### Bump\n\n Con use [node-semver](https://github.com/isaacs/node-semver), the semantic versioner of npm. You also can use [bump](https://github.com/ianstormtaylor/bump) if you just need to bump the version of your files.\n\nminor:\n```\n  con file.json bump minor\n```\n\nmajor:\n```\n  con file.json bump major\n```\n\npatch:\n```\n  con file.json bump patch\n```\n\nprerelease:\n```\n  con file.json bump patch\n```\n\ncustom:\n```\n  con file.json bump 0.1.1\n```\n\n## License\n\n  The MIT License (MIT)\n\n  Copyright (c) 2014 \u003colivier.wietrich@gmail.com\u003e\n\n  Permission is hereby granted, free of charge, to any person obtaining a copy\n  of this software and associated documentation files (the \"Software\"), to deal\n  in the Software without restriction, including without limitation the rights\n  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n  copies of the Software, and to permit persons to whom the Software is\n  furnished to do so, subject to the following conditions:\n\n  The above copyright notice and this permission notice shall be included in\n  all copies or substantial portions of the Software.\n\n  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n  THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredele%2Fcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbredele%2Fcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredele%2Fcon/lists"}