{"id":17182389,"url":"https://github.com/simoncropp/naughtystrings","last_synced_at":"2025-05-15T07:05:06.879Z","repository":{"id":41371465,"uuid":"137310709","full_name":"SimonCropp/NaughtyStrings","owner":"SimonCropp","description":"Provides a strong typed .NET API for the Big List of Naughty Strings https://github.com/minimaxir/big-list-of-naughty-strings","archived":false,"fork":false,"pushed_at":"2025-05-14T10:34:24.000Z","size":877,"stargazers_count":313,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-15T07:04:58.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimonCropp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"SimonCropp"}},"created_at":"2018-06-14T05:35:21.000Z","updated_at":"2025-05-14T10:34:27.000Z","dependencies_parsed_at":"2023-02-18T12:46:17.553Z","dependency_job_id":"356f1643-6cde-45ad-a183-6124b1ff23bb","html_url":"https://github.com/SimonCropp/NaughtyStrings","commit_stats":{"total_commits":725,"total_committers":5,"mean_commits":145.0,"dds":0.4813793103448276,"last_synced_commit":"52f10dfad81c8fe84fca70793de70bbe8611ce71"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FNaughtyStrings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FNaughtyStrings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FNaughtyStrings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FNaughtyStrings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonCropp","download_url":"https://codeload.github.com/SimonCropp/NaughtyStrings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254292040,"owners_count":22046426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T00:36:58.200Z","updated_at":"2025-05-15T07:05:01.869Z","avatar_url":"https://github.com/SimonCropp.png","language":"C#","funding_links":["https://github.com/sponsors/SimonCropp"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e NaughtyStrings\n\n[![Build status](https://ci.appveyor.com/api/projects/status/3tyay4ixlsgf2rcj/branch/main?svg=true)](https://ci.appveyor.com/project/SimonCropp/NaughtyStrings)\n[![NuGet Status](https://img.shields.io/nuget/v/NaughtyStrings.svg?label=NaughtyStrings)](https://www.nuget.org/packages/NaughtyStrings/)\n[![NuGet Status](https://img.shields.io/nuget/v/NaughtyStrings.Bogus.svg?label=NaughtyStrings.Bogus)](https://www.nuget.org/packages/NaughtyStrings.Bogus/)\n\nProvides a strong typed .NET API for the [Big List of Naughty Strings](https://github.com/minimaxir/big-list-of-naughty-strings).\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\nSome example strings:\n\n```\nثم نفس سقطت وبالتحديد،, جزيرتي باستخدام أن دنو. إذ هنا؟ الستار دا، الإطلاق عل إيو.\nבְּרֵאשִׁית, בָּרָא אֱלֹהִים, אֵת הַשָּׁמַיִם, וְאֵת הָאָרֶץ\nהָיְתָהtestالصفحات التّحول\n﷽\nﷺ\nمُنَاقَشَةُ سُبُلِ اِسْتِخْدَامِ اللُّغَةِ فِي النُّظُمِ الْقَائِمَةِ وَفِيم يَخُصَّ التَّطْبِيقَاتُ الْحاسُوبِيَّةُ، \nṰ̺̺̕o͞ ̷i̲̬͇̪͙n̝̗͕v̟̜̘̦͟o̶̙̰̠kè͚̮̺̪̹̱̤ ̖t̝͕̳̣̻̪͞h̼͓̲̦̳̘̲e͇̣̰̦̬͎ ̢̼̻̱̘h͚͎͙̜̣̲ͅi̦̲̣̰̤v̻͍e̺̭̳̪̰-m̢iͅn̖̺̞̲̯̰d̵̼̟͙̩̼̘̳ ̞̥̱̳̭r̛̗̘e͙p͠r̼̞̻̭̗e̺̠̣͟s̘͇̳͍̝͉e͉̥̯̞̲͚̬͜ǹ̬͎͎̟̖͇̤t͍̬̤͓̼̭͘ͅi̪̱n͠g̴͉ ͏͉ͅc̬̟h͡a̫̻̯͘o̫̟̖͍̙̝͉s̗̦̲.̨̹͈̣\n̡͓̞ͅI̗̘̦͝n͇͇͙v̮̫ok̲̫̙͈i̖͙̭̹̠̞n̡̻̮̣̺g̲͈͙̭͙̬͎ ̰t͔̦h̞̲e̢̤ ͍̬̲͖f̴̘͕̣è͖ẹ̥̩l͖͔͚i͓͚̦͠n͖͍̗͓̳̮g͍ ̨o͚̪͡f̘̣̬ ̖̘͖̟͙̮c҉͔̫͖͓͇͖ͅh̵̤̣͚͔á̗̼͕ͅo̼̣̥s̱͈̺̖̦̻͢.̛̖̞̠̫̰\n̗̺͖̹̯͓Ṯ̤͍̥͇͈h̲́e͏͓̼̗̙̼̣͔ ͇̜̱̠͓͍ͅN͕͠e̗̱z̘̝̜̺͙p̤̺̹͍̯͚e̠̻̠͜r̨̤͍̺̖͔̖̖d̠̟̭̬̝͟i̦͖̩͓͔̤a̠̗̬͉̙n͚͜ ̻̞̰͚ͅh̵͉i̳̞v̢͇ḙ͎͟-҉̭̩̼͔m̤̭̫i͕͇̝̦n̗͙ḍ̟ ̯̲͕͞ǫ̟̯̰̲͙̻̝f ̪̰̰̗̖̭̘͘c̦͍̲̞͍̩̙ḥ͚a̮͎̟̙͜ơ̩̹͎s̤.̝̝ ҉Z̡̖̜͖̰̣͉̜a͖̰͙̬͡l̲̫̳͍̩g̡̟̼̱͚̞̬ͅo̗͜.̟\n̦H̬̤̗̤͝e͜ ̜̥̝̻͍̟́w̕h̖̯͓o̝͙̖͎̱̮ ҉̺̙̞̟͈W̷̼̭a̺̪͍į͈͕̭͙̯̜t̶̼̮s̘͙͖̕ ̠̫̠B̻͍͙͉̳ͅe̵h̵̬͇̫͙i̹͓̳̳̮͎̫̕n͟d̴̪̜̖ ̰͉̩͇͙̲͞ͅT͖̼͓̪͢h͏͓̮̻e̬̝̟ͅ ̤̹̝W͙̞̝͔͇͝ͅa͏͓͔̹̼̣l̴͔̰̤̟͔ḽ̫.͕\nZ̮̞̠͙͔ͅḀ̗̞͈̻̗Ḷ͙͎̯̹̞͓G̻O̭̗̮\nΩ≈ç√∫˜µ≤≥÷\nåß∂ƒ©˙∆˚¬…æ\nœ∑´®†¥¨ˆøπ“‘\n¡™£¢∞§¶•ªº–≠\n¸˛Ç◊ı˜Â¯˘¿\nÅÍÎÏ˝ÓÔÒÚÆ☃\nŒ„´‰ˇÁ¨ˆØ∏”’\n`⁄€‹›ﬁﬂ‡°·‚—±\n```\n\n\n## NaughtyStrings\n\nhttps://nuget.org/packages/NaughtyStrings/\n\n\n### Usage\n\nThe entry type is a static class `TheNaughtyStrings`. It exposes all strings via `TheNaughtyStrings.All` and individual categories by name:\n\n\u003c!-- snippet: usage --\u003e\n\u003ca id='snippet-usage'\u003e\u003c/a\u003e\n```cs\nvar items = TheNaughtyStrings.All.Take(10);\nvar emoji = TheNaughtyStrings.Emoji.Take(10);\n```\n\u003csup\u003e\u003ca href='/src/Tests/Usage.cs#L8-L13' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-usage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n## NaughtyStrings.Bogus\n\nExtends [Bogus](https://github.com/bchavez/Bogus) to use Naughty Strings.\n\nhttps://nuget.org/packages/NaughtyStrings.Bogus/\n\n\n### Usage\n\n\nThe entry extension method is `Naughty()`. It exposes all strings via `.String()` and individual categories by name:\n\n\u003c!-- snippet: bogususage --\u003e\n\u003ca id='snippet-bogususage'\u003e\u003c/a\u003e\n```cs\nvar faker = new Faker\u003cTarget\u003e()\n    .RuleFor(u =\u003e u.Property1, (f, u) =\u003e f.Naughty().String())\n    .RuleFor(u =\u003e u.Property2, (f, u) =\u003e f.Naughty().Emoji());\n\nvar target = faker.Generate();\nDebug.WriteLine(target.Property1);\nDebug.WriteLine(target.Property2);\n```\n\u003csup\u003e\u003ca href='/src/Tests/Usage.cs#L14-L24' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-bogususage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n## Usage in a test suite\n\nThe below example uses the `MemberDataAttribute` to consume all naughty strings from a helper class. See [Creating parameterised tests](https://andrewlock.net/creating-parameterised-tests-in-xunit-with-inlinedata-classdata-and-memberdata/#loadingdatafromapropertyormethodonadifferentclass) and [Working With InlineData, MemberData, ClassData](http://hamidmosalla.com/2017/02/25/xunit-theory-working-with-inlinedata-memberdata-classdata/) for more information.\n\n\u003c!-- snippet: xUnitUsage --\u003e\n\u003ca id='snippet-xUnitUsage'\u003e\u003c/a\u003e\n```cs\n[Fact]\npublic void Run()\n{\n    foreach (var naughtyString in TheNaughtyStrings.All)\n    {\n        Debug.WriteLine(naughtyString);\n    }\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/XunitUsage.cs#L3-L14' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-xUnitUsage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n## Icon\n\n[Naughty](https://thenounproject.com/term/naughty/1777956/) designed by [AomAm](https://thenounproject.com/AomAm/) from [The Noun Project](https://thenounproject.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoncropp%2Fnaughtystrings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimoncropp%2Fnaughtystrings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoncropp%2Fnaughtystrings/lists"}