{"id":15103499,"url":"https://github.com/lauthieb/ngx-konami","last_synced_at":"2025-07-15T05:42:31.607Z","repository":{"id":20154674,"uuid":"89056752","full_name":"lauthieb/ngx-konami","owner":"lauthieb","description":"A simple directive to add easter eggs in your Angular application 👾","archived":false,"fork":false,"pushed_at":"2023-01-07T15:22:40.000Z","size":3017,"stargazers_count":36,"open_issues_count":16,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T20:06:23.820Z","etag":null,"topics":["angular","angular4","angular5","angular6","directive","easter-egg","konami","konami-js","konamicode"],"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/lauthieb.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":"2017-04-22T08:51:32.000Z","updated_at":"2024-04-01T15:56:04.000Z","dependencies_parsed_at":"2023-01-12T05:15:39.618Z","dependency_job_id":null,"html_url":"https://github.com/lauthieb/ngx-konami","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauthieb%2Fngx-konami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauthieb%2Fngx-konami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauthieb%2Fngx-konami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauthieb%2Fngx-konami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lauthieb","download_url":"https://codeload.github.com/lauthieb/ngx-konami/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237754151,"owners_count":19360654,"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":["angular","angular4","angular5","angular6","directive","easter-egg","konami","konami-js","konamicode"],"created_at":"2024-09-25T19:24:24.069Z","updated_at":"2025-02-08T03:31:50.981Z","avatar_url":"https://github.com/lauthieb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-konami\n\n[![npm](https://img.shields.io/npm/v/ngx-konami.svg)]()\n[![npm](https://img.shields.io/npm/dt/ngx-konami.svg)]()\n[![npm](https://img.shields.io/npm/l/ngx-konami.svg)]()\n\nA simple directive to add easter eggs in your Angular 2+ application.\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install ngx-konami --save\n```\n\n## Getting started\n\nOnce you have published your library to npm, you can import your library in any Angular application :\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import the library\nimport { KonamiModule } from 'ngx-konami';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n\n    // Specify KonamiModule as an import\n    KonamiModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\nOnce your library is imported, you can use its directive in your Angular application :\n\n```xml\n\u003c!-- You can now use the konami directive in app.component.html --\u003e\n\u003cdiv (konami)=\"sayHello()\"\u003e\u003c/div\u003e\n```\n\nThe method ```sayHello``` will be called when you type the konami code !\n\n## Contribute\n\nTo generate all `*.js`, `*.d.ts` and `*.metadata.json` files:\n\n```bash\n$ npm run build\n```\n\nTo lint all `*.ts` files:\n\n```bash\n$ npm run lint\n```\n\n## License\n\nMIT ©\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flauthieb%2Fngx-konami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flauthieb%2Fngx-konami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flauthieb%2Fngx-konami/lists"}