{"id":16173240,"url":"https://github.com/joeferner/node-lircjs","last_synced_at":"2025-09-05T01:44:21.402Z","repository":{"id":17615429,"uuid":"20419537","full_name":"joeferner/node-lircjs","owner":"joeferner","description":"Node.js wrapper for LIRC (Linux IR Control)","archived":false,"fork":false,"pushed_at":"2017-03-08T23:22:22.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T01:44:07.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/joeferner.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-06-02T21:03:52.000Z","updated_at":"2023-10-27T00:59:36.000Z","dependencies_parsed_at":"2022-07-13T03:40:37.104Z","dependency_job_id":null,"html_url":"https://github.com/joeferner/node-lircjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joeferner/node-lircjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2Fnode-lircjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2Fnode-lircjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2Fnode-lircjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2Fnode-lircjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeferner","download_url":"https://codeload.github.com/joeferner/node-lircjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2Fnode-lircjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699722,"owners_count":25152285,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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-10-10T04:07:33.372Z","updated_at":"2025-09-05T01:44:16.385Z","avatar_url":"https://github.com/joeferner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Deprecated. Use something like [lirc-client](https://www.npmjs.com/package/lirc-client) instead.\n\nInstall\n-------\n\n```\nnpm install lircjs\n```\n\nExample\n-------\n\n```\nvar lircjs = require('lircjs');\n\nvar lirc = lircjs().connect();\n\nlirc.on('connect', function() {\n  console.log('lirc connected');\n\n  // get a list of remotes\n  lirc.remotes(console.log);\n\n  // get a list of remote commands\n  lirc.remoteCommands('mceusb', console.log);\n\n  // send IR command\n  lirc.sendOnce('mceusb', 'KEY_1', console.error);\n\n  // send multiple IR command\n  lirc.sendOnce('mceusb', ['KEY_1', 'KEY_2'], console.error);\n\n  // simulate IR command\n  lirc.simulate('0000000000007bfe', 0, 'mceusb', 'KEY_1', console.error);\n\n  setTimeout(function() {\n    lirc.close();\n  }, 1000);\n});\n\nlirc.on('error', function(err) {\n  console.log('lirc error', err);\n});\n\nlirc.on('close', function(err) {\n  console.log('lirc close');\n});\n\nlirc.on('code', function(code) {\n  console.log('lirc code', code);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeferner%2Fnode-lircjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeferner%2Fnode-lircjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeferner%2Fnode-lircjs/lists"}