{"id":20230858,"url":"https://github.com/ethul/bassline","last_synced_at":"2025-08-16T07:35:23.768Z","repository":{"id":2179708,"uuid":"3126918","full_name":"ethul/bassline","owner":"ethul","description":null,"archived":false,"fork":false,"pushed_at":"2012-02-12T03:09:28.000Z","size":155,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T02:24:43.905Z","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/ethul.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":"2012-01-07T21:55:07.000Z","updated_at":"2013-09-20T09:43:30.000Z","dependencies_parsed_at":"2022-09-16T02:50:44.338Z","dependency_job_id":null,"html_url":"https://github.com/ethul/bassline","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ethul/bassline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethul%2Fbassline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethul%2Fbassline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethul%2Fbassline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethul%2Fbassline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethul","download_url":"https://codeload.github.com/ethul/bassline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethul%2Fbassline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270684104,"owners_count":24627773,"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-08-16T02:00:11.002Z","response_time":91,"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-14T07:44:04.197Z","updated_at":"2025-08-16T07:35:23.728Z","avatar_url":"https://github.com/ethul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bassline\n\nBassline is a JavaScript library that exposes two primary types, `maybe`\nand `either`. The `maybe` type  may be used to model an optional value.\nThe constructor functions `nothing` and `just` create a `maybe`.\nThe `either` type is used to represent values with two possibilities.\nThe constructor functions `left` and `right` create such values.\n\n## Installation\n\n* Install Bassline with NPM\n\n        npm install bassline\n\n## Getting Started: Hello World\n\n```javascript\nvar bassline = require(\"bassline\")\n  , just = bassline.just;\n\nconsole.log(just(\"Hello\").fmap(function(a){return a + \" World\";}).get);\n\n$ node hello.js\nHello World\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethul%2Fbassline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethul%2Fbassline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethul%2Fbassline/lists"}