1.5.1 • Published 3 years ago

@raven-studio/blu v1.5.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 years ago

Blü

Sort of a random project I started NPM Visual Studio Code ESLint JavaScript GitLab

Usage

Discord Snowflake

const blu = require('@raven-studio/blu'); // Require the package

console.log(blu.discordSnowflake()); // Will return a sort of discord snowflake

Twitter Snowflake

const blu = require('@raven-studio/blu'); // Require the package

console.log(blu.twitterSnowflake()); // Will return a sort of twitter snowflake

Custom Snowflake

const blu = require('@raven-studio/blu'); // Require the package

console.log(blu.snowflake('epoch here')) // Epoch example: 2000-01-01T00:00:00.000Z

Deconstruction

Discord Snowflake

const blu = require('@raven-studio/blu'); // Require the package

console.log(blu.discordSnowflake.deconstruct("Your snowflake here")); // Will deconstruct a discord type snowflake.

or

const blu = require('@raven-studio/blu'); // Require the package

const snowflake = blu.discordSnowflake();

console.log(blu.discordSnowflake.deconstruct(snowflake)); // Will deconstruct a discord snowflake.

Twitter Snowflake

const blu = require('@raven-studio/blu'); // Require the package

const snowflake = blu.twitterSnowflake();

console.log(blu.twitterSnowflake.deconstruct(snowflake));

Docs

Docs Here

For any issues or questions feel free to open up an issue on the GitLab Repo

Notice

Some functions may not be documented. Reasons:

  • It could be that I'm unsure about something
  • It still needs work
  • I don't really want to document it
1.5.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.9

3 years ago

1.4.5

3 years ago

1.2.7

3 years ago

1.1.8

3 years ago

1.2.6

3 years ago

1.1.7

3 years ago

1.2.5

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.2.1

3 years ago

1.4.9

3 years ago

1.4.7

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago