{"id":22744220,"url":"https://github.com/rametta/srd","last_synced_at":"2026-03-04T22:30:56.132Z","repository":{"id":57368598,"uuid":"308857567","full_name":"rametta/srd","owner":"rametta","description":":rocket: Simple Remote Data (SRD) is a fully static land compliant implementation of the Remote Data type in TypeScript","archived":false,"fork":false,"pushed_at":"2021-01-30T15:06:46.000Z","size":135,"stargazers_count":28,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T23:54:32.006Z","etag":null,"topics":["functional","hkt","remotedata","static-land","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rametta.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":"2020-10-31T10:33:22.000Z","updated_at":"2025-09-29T12:15:25.000Z","dependencies_parsed_at":"2022-09-05T20:51:35.436Z","dependency_job_id":null,"html_url":"https://github.com/rametta/srd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rametta/srd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rametta%2Fsrd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rametta%2Fsrd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rametta%2Fsrd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rametta%2Fsrd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rametta","download_url":"https://codeload.github.com/rametta/srd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rametta%2Fsrd/sbom","scorecard":{"id":760715,"data":{"date":"2025-08-11","repo":{"name":"github.com/rametta/srd","commit":"f402d69ddde843d69f512491ff10fa8e782d54b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T23:23:27.637Z","repository_id":57368598,"created_at":"2025-08-22T23:23:27.643Z","updated_at":"2025-08-22T23:23:27.643Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30096720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T21:59:23.547Z","status":"ssl_error","status_checked_at":"2026-03-04T21:57:50.415Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["functional","hkt","remotedata","static-land","typescript"],"created_at":"2024-12-11T01:41:03.337Z","updated_at":"2026-03-04T22:30:56.111Z","avatar_url":"https://github.com/rametta.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/srd.svg)](http://npm.im/srd)\n[![SRD](https://badgen.net/bundlephobia/minzip/srd)](https://bundlephobia.com/result?p=srd)\n[![License](https://img.shields.io/badge/license-BSD--3--Clause-blue)](https://opensource.org/licenses/BSD-3-Clause)\n![License](https://img.shields.io/badge/output-esm%20%7C%20cjs%20%7C%20umd-blue)\n\n# 🚀 Simple Remote Data\n\nSimple Remote Data (SRD) is a fully [static land](https://github.com/fantasyland/static-land/blob/master/docs/spec.md) compliant implementation of the Remote Data type in TypeScript - built with [Higer Kinded Types](\u003chttps://en.wikipedia.org/wiki/Kind_(type_theory)\u003e) (HKT's) inspired by [fp-ts](https://github.com/gcanti/fp-ts) and [Elm Remote Data](https://package.elm-lang.org/packages/krisajenkins/remotedata/6.0.1/RemoteData).\n\nThe idea for using HKT's in TypeScript is based on [Lightweight higher-kinded polymorphism](https://www.cl.cam.ac.uk/~jdy22/papers/lightweight-higher-kinded-polymorphism.pdf).\n\n## \u003cimg width=\"80\" height=\"50\" src=\"https://raw.githubusercontent.com/fantasyland/static-land/master/logo/logo.png\" /\u003e Static Land Compliant\n\n## Install\n\nWith yarn\n\n```sh\nyarn add srd\n```\n\nor if you prefer npm\n\n```sh\nnpm i srd\n```\n\nor if you don't like bundlers, no need to install, just import directly from a CDN:\n\n```html\n\u003cscript type=\"module\"\u003e\n  import { SRD } from 'https://cdn.skypack.dev/srd';\n\u003c/script\u003e\n```\n\nSRD supports [CJS](https://requirejs.org/docs/commonjs.html), [UMD](https://github.com/umdjs/umd) and [ESM](https://webpack.js.org/guides/ecma-script-modules/) bundle outputs.\n\n## Examples\n\n### React Example\n\n```jsx\nimport React, { useState, useEffect } from 'react'\nimport { SRD, notAsked, loading, failure, success } from 'srd'\n\nconst App = () =\u003e {\n  const [rd, setRd] = useState(notAsked())\n\n  useEffect(() =\u003e {\n    setRd(loading())\n    fetch('...')\n      .then((data) =\u003e setRd(success(data)))\n      .catch((err) =\u003e setRd(failure(err)))\n  }, [])\n\n  return SRD.match({\n    notAsked: () =\u003e \u003cdiv\u003eEmpty\u003c/div\u003e,\n    loading: () =\u003e \u003cdiv\u003eLoading...\u003c/div\u003e,\n    failure: (err) =\u003e \u003cdiv\u003e{err}\u003c/div\u003e,\n    success: (data) =\u003e \u003cdiv\u003e{data}\u003c/div\u003e,\n  }, rd)\n}\n```\n\n### Typescript React Example\n\nSRD works even better with Typescript! Declare your RD type once and have typescript powerfully infer it everywhere! Like magic!\n\n```tsx\nimport React, { useState, useEffect } from 'react'\nimport { SRD, RD, notAsked, loading, failure, success } from 'srd'\nimport { Person, getPerson } from './people'\n\nconst App = () =\u003e {\n  const [rd, setRd] = useState\u003cRD\u003cstring, Person\u003e\u003e(notAsked())\n\n  useEffect(() =\u003e {\n    setRd(loading())\n    getPerson(123)\n      .then((person) =\u003e setRd(success(person)))\n      .catch((err) =\u003e setRd(failure(err)))\n  }, [])\n\n  return SRD.match({\n    notAsked: () =\u003e \u003cdiv\u003eEmpty\u003c/div\u003e,\n    loading: () =\u003e \u003cdiv\u003eLoading...\u003c/div\u003e,\n    failure: (msg) =\u003e \u003cdiv\u003e{msg}\u003c/div\u003e,\n    success: (person) =\u003e \u003cdiv\u003e{person}\u003c/div\u003e,\n  }, rd)\n}\n```\n\n## Documentation\n\n`SRD` comes with many of the Static Land functions that we all know and love. Here is a breakdown of all the supported algebras and utilities:\n\n### Setoid\n\nFor comparing 2 SRD's to see if they are the same type.\n\n\u003e *Note: This only compares the data types and not the inner value. So `Success(5) != Failure(5)` but `Success(5) == Success(80)`.\n\n```hs\nequals :: (RD e a, RD e b) -\u003e boolean\n```\n\n```ts\nimport { SRD, success, notAsked } from 'SRD'\n\nSRD.equals(success(5), notAsked()) // false\n```\n\n### Functor\n\nAllowing the `SRD` to be `mapped` over by the function provided.\n\n```hs\nmap :: (a -\u003e b, RD e a) -\u003e RD e b\n```\n\n```ts\nimport { SRD, success, loading } from 'SRD'\n\nconst double = x =\u003e x * 2\nconst rd1 = success(4)\nconst rd2 = loading()\n\nSRD.map(double, rd1) // success(8)\nSRD.map(double, rd2) // loading()\n```\n\n### Bifunctor\n\nAllowing the type to be `bimapped` over by the functions provided. Common usecase is for when you need to `map` and `mapFailure` in one shot.\n\n```hs\nbimap :: (e -\u003e b, a -\u003e c, RD e a) -\u003e RD b c\n```\n\n```ts\nimport { SRD, success, failure } from 'SRD'\n\nconst double = x =\u003e x * 2\nconst formatErr = err =\u003e `Something went wrong: ${err}`\nconst rd1 = success(4)\nconst rd2 = failure('404 not found')\n\nSRD.bimap(formatErr, double, rd1) // success(8)\nSRD.bimap(formatErr, double, rd2) // failure('Something went wrong: 404 not found')\n```\n\n### Apply\n\nApply a function wrapped in a SRD to a value wrapped in a SRD.\n\n```hs\nap :: (RD e (a -\u003e b), RD e a) -\u003e RD e b\n```\n\n```ts\nimport { SRD, success, failure } from 'SRD'\n\nconst double = x =\u003e x * 2\nconst formatErr = err =\u003e `Something went wrong: ${err}`\nconst rd1 = success(4)\nconst rd2 = failure('404 not found')\n\nSRD.ap(success(double), rd1)) // success(8)\nSRD.ap(success(double), rd2)) // failure('404 not found')\n```\n\n### Applicative\n\nAlways returns a `success` with whatever value is passed within.\n\n```hs\nof :: a -\u003e RD e a\n```\n\n```ts\nimport { SRD } from 'SRD'\n\nSRD.of(4) // success(4)\n```\n\n### Alt\n\nProvide a default value to be returned when an `SRD` is not a `success` type.\n\n```hs\nalt :: (RD e a, RD e a) -\u003e RD e a\n```\n\n```ts\nimport { SRD, success, loading, notAsked } from 'SRD'\n\nSRD.alt(success(4), notAsked())  // success(4)\nSRD.alt(success(50), success(4)) // success(4)\nSRD.alt(loading(), notAsked())   // loading()\nSRD.alt(loading(), success(4))   // success(4)\n```\n\n### Chain\n\nSimilar to `map` but the callback must return another `SRD`.\n\n```hs\nchain :: (a -\u003e RD e b, RD e a) -\u003e RD e b\n```\n\n```ts\nimport { SRD, success, failure, notAsked } from 'SRD'\n\nSRD.chain(x =\u003e success(x * 2), success(4))    // success(8)\nSRD.chain(x =\u003e success(x * 2), notAsked())    // notAsked()\nSRD.chain(x =\u003e failure('failed'), success(4)) // failure('failed')\n```\n\n### Match\n\nProvide a mapper object for each SRD type and whichever type the SRD is - that function will run.\n\n```hs\ndata Matcher e a ::\n  { notAsked :: () -\u003e c\n  , loading :: () -\u003e c\n  , failure :: e -\u003e c\n  , success :: a -\u003e c\n  }\n\nmatch :: (Matcher e a -\u003e c, RD e a) -\u003e c\n```\n\n```ts\nimport { SRD, success } from 'SRD'\n\nSRD.match({\n  notAsked: () =\u003e 'Empty',\n  loading: () =\u003e 'Loading...',\n  failure: e =\u003e `Err: ${e}`,\n  success: data =\u003e `My data is ${data}`\n}, success(4)) // My data is 4\n```\n\n### Map Failure\n\nSimilar to `map` but instead of running the callback on a `success`, it calls it on a `failure`.\n\n```hs\nmapFailure :: (e -\u003e b, RD e a) -\u003e RD b a\n```\n\n```ts\nimport { SRD, success, failure } from 'SRD'\n\nSRD.mapFailure(x =\u003e `hello ${x}`, success(4))     // success(4)\nSRD.mapFailure(x =\u003e `hello ${x}`, failure('bob')) // failure('hello bob')\n```\n\n### Map2\n\nSimilar to `map` but takes 2 `SRD's` instead of one, and if both are a `success`, the provided callback will be called.\n\n```hs\nmap2 :: (a b -\u003e c, RD e a, RD e b) -\u003e RD e c\n```\n\n```ts\nimport { SRD, success, failure } from 'SRD'\n\nSRD.map2((x, y) =\u003e x + y, success(4), success(8))     // success(12)\nSRD.map2((x, y) =\u003e x + y, failure('bob'), success(8)) // failure('bob')\nSRD.map2((x, y) =\u003e x + y, success(8), failure('bob')) // failure('bob')\n```\n\n### Map3\n\nSimilar to `map2` but takes 3 `SRD's` instead of two, and if all three are a `success`, the provided callback will be called.\n\n```hs\nmap3 :: (a b c -\u003e d, RD e a, RD e b, RD e c) -\u003e RD e d\n```\n\n```ts\nimport { SRD, success, failure, notAsked, loading } from 'SRD'\n\nconst add3 = (x, y, z) = x + y + z\n\nSRD.map3(add3, success(4), success(8), success(10))    // success(22)\nSRD.map3(add3, failure('bob'), success(8), notAsked()) // failure('bob')\nSRD.map3(add3, success(8), loading(), failure('bob'))  // loading()\n```\n\n### Unwrap\n\nSimilar to `alt`, but unwraps the SRD from it's type and runs the callback on it. If the SRD is a `success` the inner value is passed to the callback and returned, any other value the default is returned.\n\n```hs\nunwrap :: (b, a -\u003e b, RD e a) -\u003e b\n```\n\n```ts\nimport { SRD, success, notAsked, loading } from 'SRD'\n\nconst double = x =\u003e x * 2\n\nSRD.unwrap(6, double, success(8)) // 16\nSRD.unwrap(6, double, notAsked()) // 6\nSRD.unwrap(6, double, loading())  // 6\n```\n\n### Unpack\n\nSimilar to `unwrap`, but takes a default thunk instead of a default value.\n\n```hs\nunpack :: (() -\u003e b, a -\u003e b, RD e a) -\u003e b\n```\n\n```ts\nimport { SRD, success, notAsked, loading } from 'SRD'\n\nconst double = x =\u003e x * 2\n\nSRD.unpack(() =\u003e 6, double, success(8)) // 16\nSRD.unpack(() =\u003e 6, double, notAsked()) // 6\nSRD.unpack(() =\u003e 6, double, loading())  // 6\n```\n\n### WithDefault\n\nTakes a default value and an SRD. If the SRD is a `success` then the inner value is returned, otherwise the default value is returned.\n\n```hs\nwithDefault :: (a, RD e a) -\u003e a\n```\n\n```ts\nimport { SRD, success, notAsked, loading } from 'SRD'\n\nSRD.withDefault(4, success(8)) // 8\nSRD.withDefault(4, notAsked()) // 4\nSRD.withDefault(4, loading())  // 4\n```\n\n### IsSuccess\n\nTakes an SRD and returns a boolean if it is a `success` type.\n\n```hs\nisSuccess :: (RD e a) -\u003e bool\n```\n\n```ts\nimport { SRD, success, notAsked } from 'SRD'\n\nSRD.isSuccess(success(8)) // true\nSRD.isSuccess(notAsked()) // false\n```\n\n\n### IsFailure\n\nTakes an SRD and returns a boolean if it is a `failure` type.\n\n```hs\nisFailure :: (RD e a) -\u003e bool\n```\n\n```ts\nimport { SRD, success, failure } from 'SRD'\n\nSRD.isFailure(success(8)) // false\nSRD.isFailure(failure())  // true\n```\n\n\n### IsNotAsked\n\nTakes an SRD and returns a boolean if it is a `notAsked` type.\n\n```hs\nisNotAsked :: (RD e a) -\u003e bool\n```\n\n```ts\nimport { SRD, success, notAsked } from 'SRD'\n\nSRD.isNotAsked(success(8)) // false\nSRD.isNotAsked(notAsked()) // true\n```\n\n\n### IsLoading\n\nTakes an SRD and returns a boolean if it is a `loading` type.\n\n```hs\nisLoading :: (RD e a) -\u003e bool\n```\n\n```ts\nimport { SRD, success, loading } from 'SRD'\n\nSRD.isLoading(success(8)) // false\nSRD.isLoading(loading())  // true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frametta%2Fsrd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frametta%2Fsrd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frametta%2Fsrd/lists"}