atils v2.0.10
! Discontinuation Notice
As of atils@2.0.10, atils will be discontinued as I will be more focused on other projects.
The major changes that would have been placed with atils@3.0.0 are as follows:
Interfacewill receive a new overhaul and will now be able to parse through files.- The concept of this can be viewed here.
- New Enum types.
- This will be continued through a different project that I'll release later.
forcetype(the new Interface concept) will not receive updates as they will be updated within the new project.
- Better formatting + documentation.
- atils will remain an undocumented package.
Thank you for using atils; it was a good learning experience.
Getting Started
Installing atils
Installing the latest release of atils
npm i atils
const atils = require("atils");
import atils from "atils";Installing previous releases of atils
npm i atils@x.y.z
const atils = require("atils");
import atils from "atils";Using Documentation
There is no documentation for atils. If you'd like to make your own, be my guest.
Utilities List
BitfieldUtilityClientUtilityCollectionUtilityConsoleUtility (implementsErrorUtility)DatasetUtilityDateUtilityEnumUtility
BitEnum(extendsEnumParent)FrozenFlagBasedEnum(extendsEnumParent, implementsThawedFlagBasedEnum,default)ThawedFlagBasedEnum(extendsEnumParent)ErrorUtilityInterfaceUtility
TypeSub-UtilityClassInterfaceSub-UtilityMergeUtilityPlaceboUtility
Using Utilities
Importing Utilities
const { UtilityName } = require("atils");Import Names
const {
Bitfield,
Client,
Collection,
Dataset,
Date,
Enum,
BitEnum,
EnumParent,
FrozenFlagBasedEnum,
ThawedFlagBasedEnum,
BaseError,
ErrorBuilder,
ErrorSaver,
Interface,
InterfaceTypeAny,
InterfaceTypeSmallInt,
Merge,
MKW,
Type,
Placebo,
DefaultClientIntents,
ConsoleStyles,
InterfaceTypes,
} = require("atils");Notice Board
November 11th, 2022
Five days until
atilsis one year old!Also,atils@3.0.0is in development. Will receive many heavy changes, as well as a fully functional documentation system and intellisense. Documentation will be updated as I work on it, but it will take quite awhile.
January 19th, 2023
I no longer see atils as a "need to be updated" package, since I've found very few bugs when messing with it. Some of the items within atils will still be transferred over to my next project, which will be more aligned with what I'm actively working on. atils was a very nice learning experience, but I need to move onto other things so that I don't become stuck. Thanks for using my package for the past year and two months; though I won't be updating it anymore, I'll probably continue using it until I make something better (nah that console still hella good, will probably be using that still). If, at any point in the future, I do decide to resume development on atils, it will most likely take a heavy change in direction than it has, especially when it comes to dependencies.
Changelog
atils@2.0.1
- Fixed an issue where
BitEnumswill only storeFunctions.
atils@2.0.2
- Fixed an issue with the
TypeandInterfaceclasses not detectingArrays andObjects properly.
atils@2.0.3
- Fixed an issue with the
Typeclass throwing incorrect errors, and not properly detecting statements.
atils@2.0.4
- Fixed an issue with the
Consoleclass throwing errors when parameters are provided. - Fixed an issue with the
Consoleclass not properly logging messages from the.log()method. - Deprecated the
BaseErrorclass. - Deprecated the
EnumParentclass (no, the three Enums that we have are not deprecated).
atils@2.0.5
- Added the
setName()method to theConsoleclass. Sets the Command Prompt's name.
atils@2.0.6
- Added a little bit of the IntelliSense for the first couple utilities (will slowly be rolled out).
- Renamed the
InterfacetoClass Interface, implying it is primarily used for Classes. - Added the
Object Interface, implying it is used for Objects.Usage Example
const { Interface } = require("atils"); const interface = new Interface({ hello: String, // The required item "hello" will be a String. _world: { // The optional item "world" will have the following items. type: String, // The optional item "hello" will be a String. default: "world!", // The default value for this optional item will be "world!". } }); - Changed the default export for
Interfaceto theObject Interface, rather than theClass Interface.
atils@2.0.7
- Fixed a minor naming issue with the
Class Interface. - Fixed a minor issue with the README file.
atils@2.0.7-b
- Failed to fix a previous issue.
atils@2.0.8
- You can now use Arrays as Types in the
Object Interface.Usage Example
const { Interface } = require("atils"); const interface = new Interface({ array: [String], }); interface.applyTo({ array: ["Hello world!"], }); interface.applyTo({ array: [1], // throws an error. }); - Added MKW as an export in atils.
- The MKW package will be updated if atils' version of it receives an update.
- Deprecated the
DatasetClass (just use a Bit Enum).
atils@2.0.9
- Fixed an issue with the
MKWimport. - Fixed an issue with the
ConsoleClass.
atils@2.0.10
atilsdiscontinuation notice.
Resources
Discontinued.
Thank you for using atils.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago