Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/s3si/deps.ts

Export your battles from SplatNet to stat.ink
Go to Latest
import * as s3si from "https://deno.land/x/s3si@v0.1.8/deps.ts";

Namespaces

encode and decode for base64 encoding.

Command line arguments parser based on minimist.

Utilities for working with Deno's readers, writers, and web streams.

Utilities for working with OS-specific file paths.

Generators and validators for UUIDs for versions v1, v4 and v5.

Classes

A variable-sized buffer of bytes with read() and write() methods.

BufReader implements buffering for a Reader object.

BufWriter implements buffering for an deno.Writer object. If an error occurs writing to a Writer, no more data will be accepted and all subsequent writes, and flush(), will return the error. After all data has been written, the client should call the flush() method to guarantee all data has been forwarded to the underlying deno.Writer.

BufWriterSync implements buffering for a deno.WriterSync object. If an error occurs writing to a WriterSync, no more data will be accepted and all subsequent writes, and flush(), will return the error. After all data has been written, the client should call the flush() method to guarantee all data has been forwarded to the underlying deno.WriterSync.

A LimitedReader reads from reader but limits the amount of data returned to just limit bytes. Each call to read updates limit to reflect the new amount remaining. read returns null when limit <= 0 or when the underlying reader returns null.

Reader utility for combining multiple readers

Reader utility for strings

Writer utility for buffering string chunks

ExtData is used to handle Extension Types that are not registered to ExtensionCodec.

Functions

Decodes a given RFC4648 base64 encoded string

CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation

Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments.

Copy N size at the most. If read size is lesser than N, then returns nread

Read delimited bytes from a Reader.

Read big endian 32bit integer from BufReader

Read strings line-by-line from a Reader.

Read big endian 64bit long from BufReader

Read big endian 16bit short from BufReader

Read delimited strings from a Reader.

Slice number into 64bit big endian byte array

It decodes a MessagePack-encoded buffer.

It encodes value in the MessagePack format and returns a byte buffer.

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Convert a glob string to a regular expression.

Test whether the given string is a glob

Like join(), but doesn't collapse "**/.." when globstar is true.

Like normalize(), but doesn't collapse "**/.." when globstar is true.

Check if the passed UUID is the nil UUID.

Generates a RFC4122 v1 UUID (time-based).

Validates the UUID v1.

Validate that the passed UUID is an RFC4122 v4 UUID.

Generate a RFC4122 v5 UUID (SHA-1 namespace).

Validate that the passed UUID is an RFC4122 v5 UUID.

Test a string to see if it is a valid UUID.

Detect RFC version of a UUID.

Interfaces

The options for the parse call.

Result type returned by of BufReader.readLine().

A parsed path object generated by path.parse() or consumed by path.format().

The options used for generating a v1 UUID.