{"id":16125526,"url":"https://github.com/semibran/catalan","last_synced_at":"2025-10-30T13:35:59.462Z","repository":{"id":57194883,"uuid":"95594589","full_name":"semibran/catalan","owner":"semibran","description":"Calculate Catalan numbers","archived":false,"fork":false,"pushed_at":"2017-06-27T19:49:06.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T11:45:54.961Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/semibran.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-06-27T19:46:01.000Z","updated_at":"2017-06-27T19:46:13.000Z","dependencies_parsed_at":"2022-09-16T05:21:45.301Z","dependency_job_id":null,"html_url":"https://github.com/semibran/catalan","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/semibran%2Fcatalan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fcatalan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fcatalan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fcatalan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semibran","download_url":"https://codeload.github.com/semibran/catalan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485291,"owners_count":20946398,"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-09T21:29:55.488Z","updated_at":"2025-10-30T13:35:54.437Z","avatar_url":"https://github.com/semibran.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# catalan\n![C(5) = 42 noncrossing partitions of a 5-element set](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Noncrossing_partitions_5.svg/220px-Noncrossing_partitions_5.svg.png)\n\nA small function for calculating [Catalan numbers](https://en.wikipedia.org/wiki/Catalan_number).\n\n## usage\n[![NPM](https://nodei.co/npm/catalan.png?mini)](https://www.npmjs.com/package/catalan)\n```js\n\u003e const catalan = require('catalan')\n\u003e catalan(5)\n42\n\n\u003e catalan(-1)\nNaN\n```\n\n## see also\n- [`semibran/narayana`](https://github.com/semibran/narayana) - calculate Narayana numbers\n\n## license\n[MIT](https://opensource.org/licenses/MIT) © [Brandon Semilla](https://git.io/semibran)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemibran%2Fcatalan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemibran%2Fcatalan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemibran%2Fcatalan/lists"}