{"id":21948757,"url":"https://github.com/nemtsov/inirc","last_synced_at":"2026-05-01T03:39:12.426Z","repository":{"id":14339677,"uuid":"17049246","full_name":"nemtsov/inirc","owner":"nemtsov","description":"Tiny library for handling ini-based rc files.","archived":false,"fork":false,"pushed_at":"2014-11-19T05:31:12.000Z","size":177,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T05:27:19.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nemtsov.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-02-21T07:51:59.000Z","updated_at":"2019-09-25T18:43:47.000Z","dependencies_parsed_at":"2022-09-02T12:21:23.023Z","dependency_job_id":null,"html_url":"https://github.com/nemtsov/inirc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nemtsov/inirc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Finirc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Finirc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Finirc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Finirc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nemtsov","download_url":"https://codeload.github.com/nemtsov/inirc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Finirc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32484352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-29T05:17:43.041Z","updated_at":"2026-05-01T03:39:12.392Z","avatar_url":"https://github.com/nemtsov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"inirc [![Build Status](https://travis-ci.org/nemtsov/inirc.png)](https://travis-ci.org/nemtsov/inirc)\n=====\n\nAn `ini` format `~/.\u003cyour\u003erc` file management library.\n\nUsage\n-----\n\n```javascript\nvar inirc = require('inirc'),\n  rc = inirc('.awesomerc');\n\nrc.put({user: {name: 'heather'}}, function (err) {\n  if (err) throw err;\n});\n```\n\nCreates a `~/.awesomerc` with the following contents:\n```\n[user]\nname = heather\n```\n\nYou can also `get` and `del`:\n\n```javascript\nrc.get(function (err, data) {\n  if (err) throw err;\n  assert(data.user.name === 'heather');\n});\n\nrc.del(function (err) {\n  if (err) throw err;\n});\n```\n\n\nAPI\n---\n\n**initrc(name, [options])**\n\nCreates an `rc` instance.\n\nThe option `home` is available. It defaults to the current user's home directory, which is set by the environment varialbe `HOME` in \\*nix and `USERPROFILE` on win. The option `mode` will allow you to set a custom file access permission on the rc file. It defaults to `0600` (rw for the owner only).\n\n\n**rc.put(configObject, cb)**\n\n**rc.get(cb)**\n\n**rc.del(cb)**\n\n\nLicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemtsov%2Finirc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnemtsov%2Finirc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemtsov%2Finirc/lists"}