{
  "id": "task_libraries:authorization/javascript",
  "path": "/exapedia/javascript-authorization-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript authorization libraries",
  "answer": [
    {
      "t": "fact",
      "fact": "F106"
    },
    {
      "t": "text",
      "text": " Some evaluate policy rules inside the application, while others send each check to a separate permission service. These libraries enforce who can view, edit, or delete records in SaaS products, admin tools, and internal platforms."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript authorization libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#aws-sdk-client-iam",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F123"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F124"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#casl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#openfga-sdk",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#aws-sdk-client-iot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F172"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#backstage-plugin-permission-node",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#authzed-authzed-node",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#azure-arm-authorization",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F214"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#node-casbin",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F228"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#aws-sdk-client-iam",
          "label": [
            {
              "t": "fact",
              "fact": "F123"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F124"
        },
        {
          "t": "text",
          "text": ". That count covers every IAM operation."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "In-process evaluator",
            "App-defined objects"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#aws-sdk-client-iam",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F123"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#casl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#openfga-sdk",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#aws-sdk-client-iot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F172"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#backstage-plugin-permission-node",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#authzed-authzed-node",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#azure-arm-authorization",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F214"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#node-casbin",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F228"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "aws-sdk-client-iam",
          "name": [
            {
              "t": "fact",
              "fact": "F123"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/aws/aws-sdk-js-v3"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@aws-sdk/client-iam"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F124"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/aws/aws-sdk-js-v3",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F123"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/awsdocs/aws-doc-sdk-examples",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F140"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export const attachRolePolicy = (policyArn, roleName) => {\n  const command = new AttachRolePolicyCommand({\n    PolicyArn: policyArn,\n    RoleName: roleName,\n  });\n\n  return client.send(command);\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/awsdocs/aws-doc-sdk-examples/blob/9d44b4c73c4d85f5b953d7063aa81fc3616f3f6c/javascriptv3/example_code/iam/actions/attach-role-policy.js#L16-L23",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F139"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40aws-sdk/client-iam%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F123"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { IAMClient, SimulatePrincipalPolicyCommand } from '@aws-sdk/client-iam';\n\nconst client = new IAMClient({ region: 'us-east-1' });\nconst result = await client.send(new SimulatePrincipalPolicyCommand({\n  PolicySourceArn: 'arn:aws:iam::123456789012:role/example',\n  ActionNames: ['s3:GetObject'],\n  ResourceArns: ['arn:aws:s3:::example-bucket/*'],\n}));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-iam/src/commands/SimulatePrincipalPolicyCommand.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "SimulatePrincipalPolicyCommand.ts"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F128"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "casl",
          "name": [
            {
              "t": "fact",
              "fact": "F142"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/stalniy/casl"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@casl/ability"
            },
            {
              "label": "Docs",
              "href": "https://casl.js.org/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F10"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://casl.js.org/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F11"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F12"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/stalniy/casl-examples",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F158"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function defineAbilityFor(user: { id: number }) {\n  return defineAbility((can, cannot) => {\n    can('read', 'Post');\n    can('update', 'Post', ['title', 'body'], { authorId: user.id });\n    cannot('update', 'Post', { published: true });\n  });\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/stalniy/casl-examples/blob/9e03b11ca5c58d339bd9f5d429bfc2c94d28c1f2/packages/hello-world/src/defineAbility.ts#L3-L9",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F157"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20applications%20using%20%40casl/ability%20for%20permission%20rules%20and%20access%20checks&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { createMongoAbility } from '@casl/ability';\n\nconst ability = createMongoAbility([{ action: 'read', subject: 'Article' }]);\nconst allowed = ability.can('read', 'Article');\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/stalniy/casl/blob/main/packages/casl-ability/src/createMongoAbility.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "en.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "openfga-sdk",
          "name": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/openfga/js-sdk"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@openfga/sdk"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F33"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.npmjs.com/package/@openfga/sdk",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F160"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F35"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F36"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const { OpenFgaClient } = require('@openfga/sdk'); // OR import { OpenFgaClient } from '@openfga/sdk';\n\nconst fgaClient = new OpenFgaClient({\n  apiUrl: process.env.FGA_API_URL, // required\n  storeId: process.env.FGA_STORE_ID, // not needed when calling `CreateStore` or `ListStores`\n  authorizationModelId: process.env.FGA_MODEL_ID, // Optional, can be overridden per request\n});\n\nconst result = await fgaClient.check({\n  user: \"user:anne\",\n  relation: \"viewer\",\n  object: \"document:roadmap\",\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/openfga/js-sdk/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20applications%20using%20%40openfga/sdk%20for%20permission%20rules%20and%20access%20checks&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F160"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F165"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "aws-sdk-client-iot",
          "name": [
            {
              "t": "fact",
              "fact": "F172"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/aws/aws-sdk-js-v3"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@aws-sdk/client-iot"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F179"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/aws/aws-sdk-js-v3",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F172"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { IoTClient, TestAuthorizationCommand } from '@aws-sdk/client-iot';\n\nconst client = new IoTClient({ region: 'us-east-1' });\nconst result = await client.send(new TestAuthorizationCommand({\n  principal: 'arn:aws:iot:us-east-1:123456789012:cert/example',\n  authInfos: [{\n    actionType: 'PUBLISH',\n    resources: ['arn:aws:iot:us-east-1:123456789012:topic/example'],\n  }],\n}));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-iot/src/commands/TestAuthorizationCommand.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "TestAuthorizationCommand.ts"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40aws-sdk/client-iot%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F172"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F177"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "backstage-plugin-permission-node",
          "name": [
            {
              "t": "fact",
              "fact": "F186"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/backstage/backstage"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@backstage/plugin-permission-node"
            },
            {
              "label": "Docs",
              "href": "https://backstage.io/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F193"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://backstage.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F186"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { createConditionAuthorizer } from '@backstage/plugin-permission-node';\nimport { AuthorizeResult } from '@backstage/plugin-permission-common';\n\nconst authorize = createConditionAuthorizer([]);\nconst allowed = authorize({ result: AuthorizeResult.DENY }, undefined);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/backstage/backstage/blob/master/plugins/permission-node/src/integration/createPermissionIntegrationRouter.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "createPermissionIntegrationRouter.ts"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40backstage/plugin-permission-node%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F186"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "authzed-authzed-node",
          "name": [
            {
              "t": "fact",
              "fact": "F200"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/authzed/authzed-node"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@authzed/authzed-node"
            },
            {
              "label": "Docs",
              "href": "https://authzed.com/docs/reference/api"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F207"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://authzed.com/docs/reference/api",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F200"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { v1 } from \"@authzed/authzed-node\";\n\nconst client = v1.NewClient(\"token\");\n\n// Create the relationship between the resource and the user.\nconst firstPost = v1.ObjectReference.create({\n  objectType: \"blog/post\",\n  objectId: \"1\",\n});\n\n// Create the user reference.\nconst emilia = v1.ObjectReference.create({\n  objectType: \"blog/user\",\n  objectId: \"emilia\",\n});\n\n// Create the subject reference using the user reference\nconst subject = v1.SubjectReference.create({\n  object: emilia,\n});\n\nconst checkPermissionRequest = v1.CheckPermissionRequest.create({\n  resource: firstPost,\n  permission: \"read\",\n  subject,\n});\n\nclient.checkPermission(checkPermissionRequest, (err, response) => {\n  console.log(response);\n  console.log(err);\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/authzed/authzed-node/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40authzed/authzed-node%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F200"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F205"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "azure-arm-authorization",
          "name": [
            {
              "t": "fact",
              "fact": "F214"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/Azure/azure-sdk-for-js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@azure/arm-authorization"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F221"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/Azure/azure-sdk-for-js",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F214"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { AuthorizationManagementClient } from '@azure/arm-authorization';\nimport { DefaultAzureCredential } from '@azure/identity';\n\nconst subscriptionId = '00000000-0000-0000-0000-000000000000';\nconst client = new AuthorizationManagementClient(new DefaultAzureCredential(), subscriptionId);\nfor await (const permission of client.permissions.listForResourceGroup('example-rg')) {\n  console.log(permission);\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/Azure/azure-sdk-for-js/blob/f59427daa5a2acb87716e4d43dd8fd8bb4b95012/sdk/authorization/arm-authorization/review/arm-authorization.api.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "arm-authorization.api.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40azure/arm-authorization%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F214"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "node-casbin",
          "name": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/apache/casbin-node-casbin"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/casbin"
            },
            {
              "label": "Docs",
              "href": "https://casbin.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F52"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://casbin.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F228"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F53"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F54"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F55"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F56"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F57"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/backstage/community-plugins",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F243"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async enforce(\n  entityRef: string,\n  resourceType: string,\n  action: string,\n  roles: string[],\n): Promise<boolean> {\n  const model = newModelFromString(MODEL);\n  let policies: string[][] = [];\n  if (roles.length > 0) {\n    for (const role of roles) {\n      const filteredPolicy = await this.getFilteredPolicy(\n        0,\n        role,\n        resourceType,\n        action,\n      );\n      policies.push(...filteredPolicy);\n    }\n  } else {\n    const enforcePolicies = await this.getFilteredPolicy(\n      1,\n      resourceType,\n      action,\n    );\n    policies = enforcePolicies.filter(\n      policy =>\n        policy[0].startsWith('user:') || policy[0].startsWith('group:'),\n    );\n  }\n\n  const roleManager = this.enforcer.getRoleManager();\n  const tempEnforcer = new Enforcer();\n\n  model.addPolicies('p', 'p', policies);\n\n  await tempEnforcer.initWithModelAndAdapter(model);\n  tempEnforcer.setRoleManager(roleManager);\n  await tempEnforcer.buildRoleLinks();\n\n  return await tempEnforcer.enforce(entityRef, resourceType, action);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/backstage/community-plugins/blob/7086774b8d6542e7f9ce963c3297eb0923988568/workspaces/rbac/plugins/rbac-backend/src/service/enforcer-delegate.ts#L674-L714",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F242"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20applications%20using%20casbin%20for%20permission%20rules%20and%20access%20checks&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F228"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { newEnforcer, newModelFromString } from 'casbin';\n\nconst model = newModelFromString(`[request_definition]\nr = sub, obj, act\n\n[policy_definition]\np = sub, obj, act\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = r.sub == p.sub && r.obj == p.obj && r.act == p.act`);\nconst enforcer = await newEnforcer(model);\nawait enforcer.addPolicy('alice', 'data1', 'read');\nconst allowed = await enforcer.enforce('alice', 'data1', 'read');\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/apache/casbin-node-casbin/blob/master/examples/basic_model.conf",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "ReBAC vs RBAC: what is the difference?",
      "a": [
        {
          "t": "text",
          "text": "Role-based access control (RBAC) grants permissions through roles. Relationship-based access control (ReBAC) grants them through a stored relation between a user and an object, such as a viewer of one document. "
        },
        {
          "t": "link",
          "href": "#openfga-sdk",
          "label": [
            {
              "t": "text",
              "text": "OpenFGA"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#authzed-authzed-node",
          "label": [
            {
              "t": "text",
              "text": "Authzed"
            }
          ]
        },
        {
          "t": "text",
          "text": " check those relations in a separate service."
        }
      ]
    },
    {
      "q": "OpenFGA vs SpiceDB: how do the clients differ?",
      "a": [
        {
          "t": "text",
          "text": "Both clients send checks to a separate service that stores the relationship data. The "
        },
        {
          "t": "link",
          "href": "#openfga-sdk",
          "label": [
            {
              "t": "text",
              "text": "OpenFGA"
            }
          ]
        },
        {
          "t": "text",
          "text": " SDK calls an OpenFGA API and store, while the "
        },
        {
          "t": "link",
          "href": "#authzed-authzed-node",
          "label": [
            {
              "t": "text",
              "text": "Authzed"
            }
          ]
        },
        {
          "t": "text",
          "text": " client reaches SpiceDB or Authzed over gRPC."
        }
      ]
    },
    {
      "q": "CASL vs Casbin: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#casl",
          "label": [
            {
              "t": "text",
              "text": "CASL"
            }
          ]
        },
        {
          "t": "text",
          "text": " checks actions, subjects, fields, and object conditions defined in JavaScript. "
        },
        {
          "t": "link",
          "href": "#node-casbin",
          "label": [
            {
              "t": "text",
              "text": "Casbin"
            }
          ]
        },
        {
          "t": "text",
          "text": " enforces a configurable access-control model, such as ACL, RBAC, or ABAC, against stored policy rules."
        }
      ]
    },
    {
      "q": "Does a successful CASL type check authorize every object?",
      "a": [
        {
          "t": "fact",
          "fact": "F111"
        }
      ]
    },
    {
      "q": "Can CASL restrict which fields a user changes?",
      "a": [
        {
          "t": "fact",
          "fact": "F113"
        }
      ]
    },
    {
      "q": "Does Casbin write policy files?",
      "a": [
        {
          "t": "fact",
          "fact": "F115"
        },
        {
          "t": "text",
          "text": " "
        },
        {
          "t": "fact",
          "fact": "F116"
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, @casl/ability",
      "display": "CASL",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, @casl/ability",
      "display": "9.9M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, @casl/ability",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, @casl/ability",
      "display": "7.1.3",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, @casl/ability",
      "display": "v7.1.3",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, @casl/ability",
      "display": "7.1K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Attribute conditions, @casl/ability",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Field-level permissions, @casl/ability",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Install, @casl/ability",
      "display": "npm install @casl/ability",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "What it does, @casl/ability",
      "display": "Defines and checks JavaScript permissions using actions, subjects, fields, and object conditions.",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "strengths lead, @casl/ability",
      "display": "Restricts actions by object attributes",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "strengths, @casl/ability",
      "display": "Allow an action only when the object matches the configured conditions.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, @casl/ability",
      "display": "Restricts changes to selected fields",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, @casl/ability",
      "display": "Authorize selected fields without granting changes to the entire record.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "limitations lead, @casl/ability",
      "display": "Type checks need object checks",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "limitations, @casl/ability",
      "display": "Check the actual object before allowing access to a specific record.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, @casl/ability",
      "display": "Plain objects need trusted types",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, @casl/ability",
      "display": "Use subject with a type chosen by trusted application code.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "Quickstart, @casl/ability",
      "display": "import { defineAbility } from '@casl/ability';\n\nconst ability = defineAbility((can, cannot) => {\n  can('manage', 'all');\n  cannot('delete', 'all');\n});\n\nability.can('read', 'Post'); // true\nability.can('delete', 'Post'); // false\n",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Project function, @casl/ability",
      "display": "export const caslAbilityBuilder = (): CustomAbilityBuilder => {\n  const { can, build, ...rest } = new AbilityBuilder(Ability);\n\n  return {\n    can(permission: PermissionRule) {\n      const { action, subject, properties = {}, condition } = permission;\n      const { fields } = properties;\n\n      const caslAction = typeof action === 'string' ? action : buildParametrizedAction(action);\n\n      return can(\n        caslAction,\n        subject == null ? 'all' : subject,\n        fields,\n        isObject(condition) ? condition : undefined\n      );\n    },\n\n    buildParametrizedAction({ name, params }: ParametrizedAction) {\n      return `${name}?${qs.stringify(params)}`;\n    },\n\n    build() {\n      const ability = build({ conditionsMatcher });\n\n      function decorateCan(originalCan: Ability['can']) {\n        return function canWithParametrizedAction(...args: Parameters<Ability['can']>) {\n          const [action, ...rest] = args;\n          const caslAction = typeof action === 'string' ? action : buildParametrizedAction(action);\n\n          // Call the original `can` method\n          return originalCan.apply(ability, [caslAction, ...rest]);\n        };\n      }\n\n      ability.can = decorateCan(ability.can);\n      return ability;\n    },\n\n    ...rest,\n  };\n};\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function reference, @casl/ability",
      "display": "casl-ability.ts · caslAbilityBuilder()",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project repository, @casl/ability",
      "display": "strapi/strapi",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project stars, strapi/strapi",
      "display": "73.5K",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project push date, strapi/strapi",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F25": {
      "label": "Library name, @openfga/sdk",
      "display": "OpenFGA SDK",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Monthly downloads, @openfga/sdk",
      "display": "3.9M",
      "asOf": "2026-11-15"
    },
    "F27": {
      "label": "License, @openfga/sdk",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Package release, @openfga/sdk",
      "display": "0.9.8",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Undated package release, @openfga/sdk",
      "display": "v0.9.8",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Repository stars, @openfga/sdk",
      "display": "91",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Attribute conditions, @openfga/sdk",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Install, @openfga/sdk",
      "display": "npm install @openfga/sdk",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "What it does, @openfga/sdk",
      "display": "Connects JavaScript applications to an OpenFGA server for relationship-based authorization checks.",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "strengths lead, @openfga/sdk",
      "display": "Checks relationship-based permissions",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "strengths, @openfga/sdk",
      "display": "Check whether a user has a particular relation to an object.",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "strengths lead, @openfga/sdk",
      "display": "Lists accessible objects",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths, @openfga/sdk",
      "display": "Retrieve objects a user can access through a chosen relation.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "limitations lead, @openfga/sdk",
      "display": "Requires an OpenFGA server",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "limitations, @openfga/sdk",
      "display": "Connect the SDK to an OpenFGA API and store.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "limitations lead, @openfga/sdk",
      "display": "Chunked writes can partially succeed",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations, @openfga/sdk",
      "display": "Inspect per-operation results when transaction mode is disabled.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "Quickstart, @openfga/sdk",
      "display": "const { OpenFgaClient } = require('@openfga/sdk'); // OR import { OpenFgaClient } from '@openfga/sdk';\n\nconst fgaClient = new OpenFgaClient({\n  apiUrl: process.env.FGA_API_URL, // required\n  storeId: process.env.FGA_STORE_ID, // not needed when calling `CreateStore` or `ListStores`\n  authorizationModelId: process.env.FGA_MODEL_ID, // Optional, can be overridden per request\n});\n\n// Add custom headers to a specific request\nconst result = await fgaClient.check({\n  user: \"user:anne\",\n  relation: \"viewer\",\n  object: \"document:roadmap\",\n}, {\n  headers: {\n    \"X-Request-ID\": \"123e4567-e89b-12d3-a456-426614174000\",\n    \"X-Custom-Header\": \"custom-value\", // these override any default headers set\n  }\n});\n",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "Library name, casbin",
      "display": "Node-Casbin",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Monthly downloads, casbin",
      "display": "939.9K",
      "asOf": "2026-11-15"
    },
    "F45": {
      "label": "License, casbin",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Package release, casbin",
      "display": "5.51.1",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Undated package release, casbin",
      "display": "v5.51.1",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Repository stars, casbin",
      "display": "2.9K",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Role hierarchies, casbin",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Attribute conditions, casbin",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Install, casbin",
      "display": "npm install casbin",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "What it does, casbin",
      "display": "Enforces authorization through configurable access-control models and policy rules.",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "strengths lead, casbin",
      "display": "Supports inherited roles",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "strengths, casbin",
      "display": "Grant permissions through roles that inherit other roles.",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "strengths lead, casbin",
      "display": "Evaluates request-object attributes",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "strengths, casbin",
      "display": "Compare request-object fields in an access-control model.",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "limitations lead, casbin",
      "display": "File policies need explicit saves",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "limitations, casbin",
      "display": "Call savePolicy after changing policies stored with the built-in file adapter.",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "limitations lead, casbin",
      "display": "Persistence depends on the adapter",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "limitations, casbin",
      "display": "Choose an adapter with the storage and update operations the application needs.",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Quickstart, casbin",
      "display": "// For Node.js:\nconst { newEnforcer } = require('casbin');\n// For browser:\n// import { newEnforcer } from 'casbin';\n\nconst enforcer = await newEnforcer('basic_model.conf', 'basic_policy.csv');\n\nconst sub = 'alice'; // the user that wants to access a resource.\nconst obj = 'data1'; // the resource that is going to be accessed.\nconst act = 'read'; // the operation that the user performs on the resource.\n\n// Async:\nconst res = await enforcer.enforce(sub, obj, act);\n// Sync:\n// const res = enforcer.enforceSync(sub, obj, act);\n\nif (res) {\n  // permit alice to read data1\n} else {\n  // deny the request, show an error\n}\n",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Project function, casbin",
      "display": "async hasPolicy(...policy: string[]): Promise<boolean> {\n    const tempModel = newModelFromString(MODEL);\n    await (this.enforcer.getAdapter() as FilteredAdapter).loadFilteredPolicy(\n      tempModel,\n      [\n        {\n          ptype: 'p',\n          v0: policy[0],\n          v1: policy[1],\n          v2: policy[2],\n          v3: policy[3],\n        },\n      ],\n    );\n    return tempModel.hasPolicy('p', 'p', policy);\n  }\n",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Project function reference, casbin",
      "display": "enforcer-delegate.ts · hasPolicy()",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "Project repository, casbin",
      "display": "backstage/community-plugins",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "Project stars, backstage/community-plugins",
      "display": "430",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "Project push date, backstage/community-plugins",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F67": {
      "label": "Library name, accesscontrol",
      "display": "AccessControl",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Monthly downloads, accesscontrol",
      "display": "327.0K",
      "asOf": "2026-11-15"
    },
    "F69": {
      "label": "License, accesscontrol",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Package release, accesscontrol",
      "display": "3.1.2",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Undated package release, accesscontrol",
      "display": "v3.1.2",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Repository stars, accesscontrol",
      "display": "2.3K",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Role hierarchies, accesscontrol",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Attribute conditions, accesscontrol",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Field-level permissions, accesscontrol",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Install, accesscontrol",
      "display": "npm install accesscontrol",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "What it does, accesscontrol",
      "display": "Combines role grants, attribute conditions, ownership checks, and field filtering for Node.js.",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "strengths lead, accesscontrol",
      "display": "Combines role inheritance and conditions",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "strengths, accesscontrol",
      "display": "Extend roles and attach conditions to their grants.",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "strengths lead, accesscontrol",
      "display": "Filters permitted object attributes",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "strengths, accesscontrol",
      "display": "Filter data with nested attribute patterns and excluded fields.",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "limitations lead, accesscontrol",
      "display": "Ownership enforcement needs explicit configuration",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "limitations, accesscontrol",
      "display": "Configure ownerField or an owner resolver; otherwise enforce ownership in application code.",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "limitations lead, accesscontrol",
      "display": "Explicit denies override inherited grants",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "limitations, accesscontrol",
      "display": "An allow grant cannot cancel an applicable deny.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Quickstart, accesscontrol",
      "display": "import { AccessControl } from 'accesscontrol';\n\nconst ac = new AccessControl();\n\nac.grant('user')                      // define or modify a role\n    .createOwn('video')               // ≡ .createOwn('video', ['*'])\n    .deleteOwn('video')\n    .readAny('video')\n  .grant('admin')                     // switch role, keep the chain\n    .extend('user')                   // inherit user's grants\n    .updateAny('video', ['title'])    // explicit attributes\n    .deleteAny('video');\n\nac.can('user').createOwn('video').granted;    // true\nac.can('admin').updateAny('video').attributes; // ['title']\n",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Project function, accesscontrol",
      "display": "public async canActivate(context: ExecutionContext): Promise<boolean> {\n    const roles = this.reflector.get<Role[]>('roles', context.getHandler());\n    if (!roles) {\n      return true;\n    }\n\n    const userRoles = await this.getUserRoles(context);\n    const hasRoles = roles.every((role) => {\n      const queryInfo: IQueryInfo = role;\n      queryInfo.role = userRoles;\n      const permission = this.roleBuilder.permission(queryInfo);\n      return permission.granted;\n    });\n    return hasRoles;\n  }\n",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Project function reference, accesscontrol",
      "display": "access-control.guard.ts · canActivate()",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Project repository, accesscontrol",
      "display": "nestjsx/nest-access-control",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Project stars, nestjsx/nest-access-control",
      "display": "1.2K",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "Project push date, nestjsx/nest-access-control",
      "display": "Oct 2026",
      "asOf": "2026-10-17"
    },
    "F92": {
      "label": "Developer need",
      "display": "Object and field permissions",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Why choose @casl/ability",
      "display": "conditions that restrict actions to matching objects",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Developer need in introduction",
      "display": "object and field permissions",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "When to consider accesscontrol",
      "display": "filtering returned object attributes is central",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Developer need",
      "display": "Inherited-role enforcement",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Why choose casbin",
      "display": "roles that inherit other roles and their permissions",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need in introduction",
      "display": "inherited-role enforcement",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need",
      "display": "Filtering returned attributes",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose accesscontrol",
      "display": "nested attribute patterns and exclusions",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "filtering returned attributes",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need",
      "display": "Finding accessible objects",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Why choose @openfga/sdk",
      "display": "objects accessible through a chosen user relation",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need in introduction",
      "display": "finding accessible objects",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "When to consider @casl/ability",
      "display": "object conditions fit without a relationship-service query",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Page introduction",
      "display": "JavaScript authorization libraries decide whether a user may perform an action on a resource.",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "FAQ: Which JavaScript authorization library should I choose?",
      "display": "CASL restricts actions to selected object fields.",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "FAQ: Which JavaScript authorization library should I choose?",
      "display": "Node-Casbin supports inherited-role models.",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "FAQ: Which JavaScript authorization library should I choose?",
      "display": "AccessControl filters nested object attributes.",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "FAQ: Which JavaScript authorization library should I choose?",
      "display": "OpenFGA SDK can request the objects accessible through a user relation.",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "FAQ: Does a successful CASL type check authorize every object?",
      "display": "After checking a subject type, check permissions again on the actual object.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: How should CASL identify plain request objects?",
      "display": "Use subject with a type chosen by trusted application code.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Can CASL restrict which fields a user changes?",
      "display": "Fields can restrict an action to selected subject attributes.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: How does Node-Casbin inherit roles?",
      "display": "If a user has a role that has another role, the user effectively gains the latter role and its permissions.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Does Node-Casbin write policy files?",
      "display": "Its built-in file adapter loads and saves policy files.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Does Node-Casbin write policy files?",
      "display": "The file adapter stores policies as CSV files and does not support AutoSave.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Does AccessControl own access automatically verify ownership?",
      "display": "Configure an owner resolver or ownerField for ownership enforcement; otherwise the application enforces ownership.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Can an AccessControl allow override a matching deny?",
      "display": "Deny overrides apply, including across inherited roles.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Can AccessControl filter a returned object?",
      "display": "Attribute filtering supports nested object patterns.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does OpenFGA SDK evaluate relationship checks locally?",
      "display": "The client needs an OpenFGA API URL and a store for its check requests.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Are chunked OpenFGA writes atomic as a group?",
      "display": "With transaction mode disabled, writes are sent in separate chunks, each with its own transaction.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Are chunked OpenFGA writes atomic as a group?",
      "display": "Inspect per-operation success and failure results for those requests.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "Library name, @aws-sdk/client-iam",
      "display": "@aws-sdk/client-iam",
      "asOf": "2026-11-20"
    },
    "F124": {
      "label": "Monthly downloads, @aws-sdk/client-iam",
      "display": "22.6M",
      "asOf": "2026-11-20"
    },
    "F125": {
      "label": "License, @aws-sdk/client-iam",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Package release, @aws-sdk/client-iam",
      "display": "3.1172.0",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "Package release date, @aws-sdk/client-iam",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Install, @aws-sdk/client-iam",
      "display": "npm install @aws-sdk/client-iam",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Quickstart, @aws-sdk/client-iam",
      "display": "import { IAMClient, SimulatePrincipalPolicyCommand } from '@aws-sdk/client-iam';\n\nconst client = new IAMClient({ region: 'us-east-1' });\nconst result = await client.send(new SimulatePrincipalPolicyCommand({\n  PolicySourceArn: 'arn:aws:iam::123456789012:role/example',\n  ActionNames: ['s3:GetObject'],\n  ResourceArns: ['arn:aws:s3:::example-bucket/*'],\n}));\n",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Official description, @aws-sdk/client-iam",
      "display": "Calls the AWS Identity and Access Management (IAM) service from Node.js, browsers, and React Native.",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart source file, @aws-sdk/client-iam",
      "display": "clients/client-iam/src/commands/SimulatePrincipalPolicyCommand.ts",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Repository stars, @aws-sdk/client-iam",
      "display": "3.7K",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "In-process evaluator, @aws-sdk/client-iam",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "App-defined objects, @aws-sdk/client-iam",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Native authorization layer, @aws-sdk/client-iam",
      "display": "AWS identity-policy administration and permission simulation,including managed-policy attachment. Dedicated native policy APIs qualify; whole-package counter covers all IAM operations.",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "First-call prerequisites, @aws-sdk/client-iam",
      "display": "ES modules or equivalent configured bundler; AWS credential chain,region,and permission to simulate an actual IAM principal. Account,role,and resource identifiers are explicit placeholders. Simulation evaluates policies without performing the simulated S3 operation. No AWS call executed.",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Original project arguments and consumed returns, @aws-sdk/client-iam",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole original AWSdocs attachRolePolicy receives policyArn and roleName,constructs native AttachRolePolicyCommand with exact PolicyArn/RoleName strings,and sends it through actual same-file IAMClient({}). Current IAM request shape accepts both required fields. Actual managed policy ARN,existing role,and caller permission are prerequisites; AWS credential/region provider chain is external configuration,not code evaluated here. It attaches an existing managed policy,not inline policy contents.\", \"return_shape\": \"Returns the send promise without destructuring. Current AttachRolePolicy response contains SDK metadata and no invented permission boolean. Bounded eight-line task uses one native operation; generic JavaScript wrappers and the command constructor are not inflated into separate service calls. IAM grant mutation is only shown as original code,never executed.\"}",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Project function, @aws-sdk/client-iam",
      "display": "export const attachRolePolicy = (policyArn, roleName) => {\n  const command = new AttachRolePolicyCommand({\n    PolicyArn: policyArn,\n    RoleName: roleName,\n  });\n\n  return client.send(command);\n};\n",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Project source file, @aws-sdk/client-iam",
      "display": "javascriptv3/example_code/iam/actions/attach-role-policy.js",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project full_name, @aws-sdk/client-iam",
      "display": "awsdocs/aws-doc-sdk-examples",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Project stargazers_count, @aws-sdk/client-iam",
      "display": "10.5K",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Library name, @casl/ability",
      "display": "CASL",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Monthly downloads, @casl/ability",
      "display": "10.2M",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "License, @casl/ability",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Package release, @casl/ability",
      "display": "7.1.3",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Package release date, @casl/ability",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Install, @casl/ability",
      "display": "npm install @casl/ability",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Quickstart, @casl/ability",
      "display": "import { createMongoAbility } from '@casl/ability';\n\nconst ability = createMongoAbility([{ action: 'read', subject: 'Article' }]);\nconst allowed = ability.can('read', 'Article');\n",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Repository stars, @casl/ability",
      "display": "7.1K",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "In-process evaluator, @casl/ability",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "App-defined objects, @casl/ability",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Native authorization layer, @casl/ability",
      "display": "In-process action/subject/field and conditional object authorization for application data. Mongo matcher factory supplies native conditions and field matching; primitive Ability in7 has different defaults.",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "First-call prerequisites, @casl/ability",
      "display": "No external policy service. This basic check uses a subject-type string and an unconditional rule; object-instance conditions and field restrictions require appropriate object/field inputs.",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Original project arguments and consumed returns, @casl/ability",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole original CASL example application factory receives user.id and synchronously declares read Post,update selected fields conditioned on authorId,and deny-update for published posts. These can/cannot callbacks come from native defineAbility; they are not arbitrary local wrappers. Current7 defineAbility explicitly constructs AbilityBuilder(createMongoAbility),so the required native Mongo conditions and field matchers are installed. This differs materially from the rejected Strapi new AbilityBuilder(Ability) factory.\", \"return_shape\": \"Returns a current MongoAbility containing the declared allow/deny rules. Conditions and field arrays are accepted by native builder; deny rule is later in declaration order and takes precedence for matching published subjects. This function defines policy; resource checks still require a correctly typed Post subject and a requested field for field-scoped checks. It does not persist role assignments,fetch users,or prove universal update permission.\"}",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "CASL7 default matcher change, @casl/ability",
      "display": "Primitive Ability replaces old PureAbility and does not install matchers by default. createMongoAbility/defineAbility preserve native Mongo conditions and field matchers. Old Strapi optional-field factory is not silently accepted merely because method names still exist.",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Project function, @casl/ability",
      "display": "export function defineAbilityFor(user: { id: number }) {\n  return defineAbility((can, cannot) => {\n    can('read', 'Post');\n    can('update', 'Post', ['title', 'body'], { authorId: user.id });\n    cannot('update', 'Post', { published: true });\n  });\n}\n",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Project source file, @casl/ability",
      "display": "packages/hello-world/src/defineAbility.ts",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Project full_name, @casl/ability",
      "display": "stalniy/casl-examples",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Project stargazers_count, @casl/ability",
      "display": "124",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Library name, @openfga/sdk",
      "display": "OpenFGA",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Monthly downloads, @openfga/sdk",
      "display": "4.1M",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "License, @openfga/sdk",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Package release, @openfga/sdk",
      "display": "0.9.8",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Package release date, @openfga/sdk",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Install, @openfga/sdk",
      "display": "npm install @openfga/sdk",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Quickstart, @openfga/sdk",
      "display": "const { OpenFgaClient } = require('@openfga/sdk'); // OR import { OpenFgaClient } from '@openfga/sdk';\n\nconst fgaClient = new OpenFgaClient({\n  apiUrl: process.env.FGA_API_URL, // required\n  storeId: process.env.FGA_STORE_ID, // not needed when calling `CreateStore` or `ListStores`\n  authorizationModelId: process.env.FGA_MODEL_ID, // Optional, can be overridden per request\n});\n\nconst result = await fgaClient.check({\n  user: \"user:anne\",\n  relation: \"viewer\",\n  object: \"document:roadmap\",\n});\n",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Repository stars, @openfga/sdk",
      "display": "91",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "In-process evaluator, @openfga/sdk",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "App-defined objects, @openfga/sdk",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Native authorization layer, @openfga/sdk",
      "display": "Relationship-based authorization client for a separate OpenFGA service,with custom application models and relationship queries.",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "First-call prerequisites, @openfga/sdk",
      "display": "Running OpenFGA-compatible API,existing store/model,and matching tuple/schema relation. FGA_API_URL,FGA_STORE_ID,and FGA_MODEL_ID are host configuration names,not values read here. Shown no-credentials setup only fits a server configured without authentication; production credentials are a separate configuration. User/object identifiers must match actual model data.",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Library name, @aws-sdk/client-iot",
      "display": "@aws-sdk/client-iot",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Monthly downloads, @aws-sdk/client-iot",
      "display": "3.7M",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "License, @aws-sdk/client-iot",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Package release, @aws-sdk/client-iot",
      "display": "3.1172.0",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Package release date, @aws-sdk/client-iot",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Install, @aws-sdk/client-iot",
      "display": "npm install @aws-sdk/client-iot",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Quickstart, @aws-sdk/client-iot",
      "display": "import { IoTClient, TestAuthorizationCommand } from '@aws-sdk/client-iot';\n\nconst client = new IoTClient({ region: 'us-east-1' });\nconst result = await client.send(new TestAuthorizationCommand({\n  principal: 'arn:aws:iot:us-east-1:123456789012:cert/example',\n  authInfos: [{\n    actionType: 'PUBLISH',\n    resources: ['arn:aws:iot:us-east-1:123456789012:topic/example'],\n  }],\n}));\n",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Official description, @aws-sdk/client-iot",
      "display": "Calls the AWS IoT service from Node.js, browsers, and React Native.",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Quickstart source file, @aws-sdk/client-iot",
      "display": "clients/client-iot/src/commands/TestAuthorizationCommand.ts",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Repository stars, @aws-sdk/client-iot",
      "display": "3.7K",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "In-process evaluator, @aws-sdk/client-iot",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "App-defined objects, @aws-sdk/client-iot",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Native authorization layer, @aws-sdk/client-iot",
      "display": "AWS IoT policy authorization testing and principal/resource policy administration. Whole-package downloads also cover device/thing/provisioning operations,not only authorization.",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "First-call prerequisites, @aws-sdk/client-iot",
      "display": "Configured AWS credentials,region,and actual IoT principal/policies. Certificate/account/topic ARN strings are placeholders. Native IoT action enum and ARN resource space differ from arbitrary application objects. This tests authorization,not publishing MQTT data.",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Library name, @backstage/plugin-permission-node",
      "display": "@backstage/plugin-permission-node",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Monthly downloads, @backstage/plugin-permission-node",
      "display": "3.0M",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "License, @backstage/plugin-permission-node",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Package release, @backstage/plugin-permission-node",
      "display": "0.11.6",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Package release date, @backstage/plugin-permission-node",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Install, @backstage/plugin-permission-node",
      "display": "npm install @backstage/plugin-permission-node @backstage/plugin-permission-common",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Quickstart, @backstage/plugin-permission-node",
      "display": "import { createConditionAuthorizer } from '@backstage/plugin-permission-node';\nimport { AuthorizeResult } from '@backstage/plugin-permission-common';\n\nconst authorize = createConditionAuthorizer([]);\nconst allowed = authorize({ result: AuthorizeResult.DENY }, undefined);\n",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Official description, @backstage/plugin-permission-node",
      "display": "Supplies permission and authorization utilities for Backstage backend plugins.",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Quickstart source file, @backstage/plugin-permission-node",
      "display": "plugins/permission-node/src/integration/createPermissionIntegrationRouter.ts",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Repository stars, @backstage/plugin-permission-node",
      "display": "34.9K",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "In-process evaluator, @backstage/plugin-permission-node",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "App-defined objects, @backstage/plugin-permission-node",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Native authorization layer, @backstage/plugin-permission-node",
      "display": "Backstage backend permission-rule integration and local conditional-resource evaluation,not a general persisted policy store. Native helper returned callbacks are used by Scaffolder project example.",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "First-call prerequisites, @backstage/plugin-permission-node",
      "display": "Backstage backend Node environment with matching @backstage/plugin-permission-common peer. This shortest native predicate call evaluates a provided definitive DENY and returns false; it is not a user-policy service or business-rule configuration. The array overload is still supported but deprecated; a real current host should supply PermissionRuleset from its permission registry as the project example does.",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Library name, @authzed/authzed-node",
      "display": "Authzed",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Monthly downloads, @authzed/authzed-node",
      "display": "2.1M",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "License, @authzed/authzed-node",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Package release, @authzed/authzed-node",
      "display": "1.6.1",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Package release date, @authzed/authzed-node",
      "display": "Oct 2025",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Install, @authzed/authzed-node",
      "display": "npm i @authzed/authzed-node",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Quickstart, @authzed/authzed-node",
      "display": "import { v1 } from \"@authzed/authzed-node\";\n\nconst client = v1.NewClient(\"token\");\n\n// Create the relationship between the resource and the user.\nconst firstPost = v1.ObjectReference.create({\n  objectType: \"blog/post\",\n  objectId: \"1\",\n});\n\n// Create the user reference.\nconst emilia = v1.ObjectReference.create({\n  objectType: \"blog/user\",\n  objectId: \"emilia\",\n});\n\n// Create the subject reference using the user reference\nconst subject = v1.SubjectReference.create({\n  object: emilia,\n});\n\nconst checkPermissionRequest = v1.CheckPermissionRequest.create({\n  resource: firstPost,\n  permission: \"read\",\n  subject,\n});\n\nclient.checkPermission(checkPermissionRequest, (err, response) => {\n  console.log(response);\n  console.log(err);\n});\n",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Official description, @authzed/authzed-node",
      "display": "Connects Node.js applications to the Authzed permission service.",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Quickstart source file, @authzed/authzed-node",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Repository stars, @authzed/authzed-node",
      "display": "63",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "In-process evaluator, @authzed/authzed-node",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "App-defined objects, @authzed/authzed-node",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Native authorization layer, @authzed/authzed-node",
      "display": "SpiceDB/Authzed relationship/permission service client with protobuf resource/subject requests and optional Promise API.",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "First-call prerequisites, @authzed/authzed-node",
      "display": "Node.js,gRPC endpoint/token,and existing blog/user,blog/post,read schema/relationship data. Token is a placeholder. The31-line intact basic README call constructs native protobuf resource/subject/request messages; it is not30lines of logging or a full webhook/payment workflow. Actual endpoint defaults and secure transport follow native NewClient configuration.",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Library name, @azure/arm-authorization",
      "display": "@azure/arm-authorization",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Monthly downloads, @azure/arm-authorization",
      "display": "1.3M",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "License, @azure/arm-authorization",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Package release, @azure/arm-authorization",
      "display": "9.0.0",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Package release date, @azure/arm-authorization",
      "display": "Apr 2023",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Install, @azure/arm-authorization",
      "display": "npm install @azure/arm-authorization @azure/identity",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Quickstart, @azure/arm-authorization",
      "display": "import { AuthorizationManagementClient } from '@azure/arm-authorization';\nimport { DefaultAzureCredential } from '@azure/identity';\n\nconst subscriptionId = '00000000-0000-0000-0000-000000000000';\nconst client = new AuthorizationManagementClient(new DefaultAzureCredential(), subscriptionId);\nfor await (const permission of client.permissions.listForResourceGroup('example-rg')) {\n  console.log(permission);\n}\n",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Official description, @azure/arm-authorization",
      "display": "Provides a generated client for the Azure AuthorizationManagementClient API.",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Quickstart source file, @azure/arm-authorization",
      "display": "review/arm-authorization.api.md",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Repository stars, @azure/arm-authorization",
      "display": "2.3K",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "In-process evaluator, @azure/arm-authorization",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "App-defined objects, @azure/arm-authorization",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Native authorization layer, @azure/arm-authorization",
      "display": "Azure ARM role grants/definitions and caller-resource permission lookup. Stable9 requires subscriptionId; it does not replace an application-domain object-policy engine.",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "First-call prerequisites, @azure/arm-authorization",
      "display": "Azure subscription,actual resource group,and configured Azure identity with permission to read caller resource permissions. Subscription UUID and group name are placeholders; no credentials read. Stable9 requires subscriptionId; current main10beta constructor without it is not substituted.",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Library name, casbin",
      "display": "Casbin",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Monthly downloads, casbin",
      "display": "980.6K",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "License, casbin",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Package release, casbin",
      "display": "5.51.1",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Package release date, casbin",
      "display": "Jun 2026",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Install, casbin",
      "display": "npm install casbin",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Quickstart, casbin",
      "display": "import { newEnforcer, newModelFromString } from 'casbin';\n\nconst model = newModelFromString(`[request_definition]\nr = sub, obj, act\n\n[policy_definition]\np = sub, obj, act\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = r.sub == p.sub && r.obj == p.obj && r.act == p.act`);\nconst enforcer = await newEnforcer(model);\nawait enforcer.addPolicy('alice', 'data1', 'read');\nconst allowed = await enforcer.enforce('alice', 'data1', 'read');\n",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Repository stars, casbin",
      "display": "2.9K",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "In-process evaluator, casbin",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "App-defined objects, casbin",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Native authorization layer, casbin",
      "display": "In-process model-based authorization with configurable ACL/RBAC/ABAC models and optional persistence adapters. Current project builds and enforces a model from existing permission rows.",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "First-call prerequisites, casbin",
      "display": "ES module with top-level await or an existing async function. Complete literal basic ACL model is included; policy is initialized in memory,so no missing model/CSV files or database adapter are required.",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Original project arguments and consumed returns, casbin",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole original Backstage community RBAC EnforcerDelegate.enforce constructs the actual Casbin MODEL,selects existing stored policy rows using application helpers,adds those rows to the model,initializes native Enforcer,then reuses the host native-compatible role manager before building links and enforcing entityRef/resourceType/action. Native calls are identified individually; local getFilteredPolicy is not a Casbin call. Selected5.51.1 retains these exact model/enforcer signatures.\", \"return_shape\": \"Current async enforce returns Promise<boolean>; source awaits and returns that result. Native model accepts p-section,p-type,and string[][] policy rows; configured role manager must implement current native RoleManager contract. Original paths restrict fallback principal rows to user:/group: values. No policy store,role links,or permission decision is executed.\"}",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Project function, casbin",
      "display": "async enforce(\n  entityRef: string,\n  resourceType: string,\n  action: string,\n  roles: string[],\n): Promise<boolean> {\n  const model = newModelFromString(MODEL);\n  let policies: string[][] = [];\n  if (roles.length > 0) {\n    for (const role of roles) {\n      const filteredPolicy = await this.getFilteredPolicy(\n        0,\n        role,\n        resourceType,\n        action,\n      );\n      policies.push(...filteredPolicy);\n    }\n  } else {\n    const enforcePolicies = await this.getFilteredPolicy(\n      1,\n      resourceType,\n      action,\n    );\n    policies = enforcePolicies.filter(\n      policy =>\n        policy[0].startsWith('user:') || policy[0].startsWith('group:'),\n    );\n  }\n\n  const roleManager = this.enforcer.getRoleManager();\n  const tempEnforcer = new Enforcer();\n\n  model.addPolicies('p', 'p', policies);\n\n  await tempEnforcer.initWithModelAndAdapter(model);\n  tempEnforcer.setRoleManager(roleManager);\n  await tempEnforcer.buildRoleLinks();\n\n  return await tempEnforcer.enforce(entityRef, resourceType, action);\n}\n",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Project source file, casbin",
      "display": "workspaces/rbac/plugins/rbac-backend/src/service/enforcer-delegate.ts",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Project full_name, casbin",
      "display": "backstage/community-plugins",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Project stargazers_count, casbin",
      "display": "430",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript authorization libraries CASL Node-Casbin AccessControl OpenFGA SDK code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
