Giter Site home page Giter Site logo

cypherpoet / alphabetencoder Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.35 MB

A library to encode and decode integers from base alphabets of characters.

Home Page: https://cypherpoet.github.io/AlphabetEncoder/documentation/alphabetencoder

License: MIT License

Swift 94.69% Shell 5.31%
algorithms base62-decoding base62-encoding swift swift-algorithms swift-libraries swift-package-manager swift-world-domination swift-decoding swift-encoding

alphabetencoder's Introduction

AlphabetEncoder

Twitter: @cypher_poet

A library to encode and decode integers from base alphabets of characters.

Installation

Xcode Projects

Select File -> Swift Packages -> Add Package Dependency and enter https://github.com/CypherPoet/AlphabetEncoder.

Swift Package Manager Projects

You can add AlphabetEncoder as a package dependency in your Package.swift file:

let package = Package(
    //...
    dependencies: [
        .package(
            name: "AlphabetEncoder",
            url: "https://github.com/CypherPoet/AlphabetEncoder",
            .upToNextMinor(from: "0.3.0")
        ),
    ],
    //...
)

From there, refer to AlphabetEncoder as a "target dependency" in any of your package's targets that need it.

targets: [
    .target(
        name: "YourLibrary",
        dependencies: [
          "AlphabetEncoder",
        ],
        ...
    ),
    ...
]

Then simply import AlphabetEncoder wherever youโ€™d like to use it.

๐Ÿ—บ Road Map

  • Potentially add more base alphabets.

๐Ÿ’ป Developing

Requirements

  • Xcode 13.0+

๐Ÿ“œ Creating & Building Documentation

Documentation is built with DocC (see Apple's guidance for more details about creating DocC content).

To build and preview the documentation output, follow the instructions for the here for the Swift-DocC Plugin .

If you're using VSCode, there's also a task configuration that will handle this directly from the editor ๐Ÿ’ช

๐Ÿท License

AlphabetEncoder is available under the MIT license. See the LICENSE file for more info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.