BibleBooks 2.0.0-dev.4

This is a prerelease version of BibleBooks.
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package BibleBooks --version 2.0.0-dev.4                
NuGet\Install-Package BibleBooks -Version 2.0.0-dev.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BibleBooks" Version="2.0.0-dev.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BibleBooks --version 2.0.0-dev.4                
#r "nuget: BibleBooks, 2.0.0-dev.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BibleBooks as a Cake Addin
#addin nuget:?package=BibleBooks&version=2.0.0-dev.4&prerelease

// Install BibleBooks as a Cake Tool
#tool nuget:?package=BibleBooks&version=2.0.0-dev.4&prerelease                

BibleBooks

A library to get info about bible books.

It supports Standard & Thompson abbreviations, OSIS & Paratext codes, max chapters, alternative names, and localized names.

Features

Supported bible book info:

  • Book name
  • Alternative book name
  • OSIS code
  • Paratext code
  • Standard abbreviation
  • Thompson abbreviation
  • Max chapter

Supported Locales

  • English
  • Filipino

Usage

You can use the BibleBooksHelper static class to retrieve the book's info.

using BibleBooks;

var books = (BibleBook[])Enum.GetValues(typeof(BibleBook));
foreach (var book in books) {
  // Standard abbreviation
  Console.WriteLine(BibleBooksHelper.GetStandardAbbreviation(book));
  
  // Thompson abbreviation
  Console.WriteLine(BibleBooksHelper.GetThompsonAbbreviation(book));
  
  // OSIS code
  Console.WriteLine(BibleBooksHelper.GetOsisCode(book));
  
  // Paratext code
  Console.WriteLine(BibleBooksHelper.GetParatextCode(book));
  
  // Max chapter
  Console.WriteLine(BibleBooksHelper.GetMaxChapter(book));
  
  // Alternative book names
  Console.WriteLine(string.Join(",", BibleBooksHelper.GetAlternativeNames(book)));
  
  // Book name - default locale
  Console.WriteLine(BibleBooksHelper.GetName(book));
  
  // Book name - English (en) locale
  Console.WriteLine(BibleBooksHelper.GetName(book, CultureInfos.En));
  
  // Book name - Filipino (fil) locale
  Console.WriteLine(BibleBooksHelper.GetName(book, CultureInfos.Fil));
}

Support

If you like my work and want to support me, buying me a coffee would be awesome! Thanks for your support!

<a href="https://www.buymeacoffee.com/markivandev" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>


Mark Ivan BastoGitHub @MarkIvanDevTwitter @Rivolvan_Speaks

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BibleBooks:

Package Downloads
BibleReference

A library to parse text into bible references in multiple locales.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-dev.6 80 2/2/2024
2.0.0-dev.5 60 2/2/2024
2.0.0-dev.4 125 2/9/2023
1.5.0-prerelease202210151853 194 10/25/2022
1.4.0 744 10/24/2020
1.3.1 679 4/3/2020
1.3.0 456 4/2/2020
1.2.0 502 4/1/2020
1.1.0 489 3/31/2020
1.0.0 540 3/31/2020