Code Monkey home page Code Monkey logo

strong-set's Introduction

Alisa Logo

Package Name Package size Version License

NPM

Source file


Creator(s)


Social media accounts


What is this module?

  • This module is more advanced version of Set function

  • This module provides a more stable way for you by eliminating the deficiencies and errors of the Set function

  • It has all the commands you need and there is an explanation of how each command should be used


So how to use?

It's very simple, first you have to open any javascript file and write the following in it:

// Node.js
const Strong_Set = require("strong-set")

// Without node.js
import Strong_Set from "strong-set"


// Build without any data in it
const StrongSet_1 = new Strong_Set()

// Build with data inside (Array)
const StrongSet_2 = new Strong_Set(["value", "anotherValue"])

// Build with data inside (Set or StrongSet)
const StrongSet_3 = new Strong_Set(StrongSet_1)

Each StrongSet specifies a different Set function and the data they all hold is different. You can increase this as much as you want

After typing this you can access all commands


CAUTION!!

Please make your definitions as above. If you have made a definition as below, the module will not work properly and will give an error!

// Incorrect command definition

const Strong_Set = require("strong-set")

const { has, add } = new Strong_Set()
// This command will throw an error!


const StrongSet = new Strong_Set()
// This command will work as it should

Example

Now let's show how to write data to the Set function and check the written data

// Writing data to the Set function
StrongSet.add("hello")
StrongSet.add({ hello: "World!" })

// Now when we print the StrongSet function to the console, the following will appear on the screen:

Writing data to the Set function


Now let's try to pull the data we wrote

// Now let's check the data we wrote
StrongSet.has("hello") // true

StrongSet.has({ hello: "World!" }) // true
// If you tried to check it with the regular Set function, it would most likely return false.
// But thanks to this StrongSet module, it will return whatever data you typed, no matter what you typed

StrongSet module always wins


So why strong-set?

  • The StrongSet module is a fairly simple yet effective module and overpowered for its package size

  • The StrongSet module is an open source module, so if you get an error you can fix it yourself

  • The StrongSet module is being developed every day, helping you in the best way with new features and increasing performance

  • You don't have to wait long while downloading due to the low package size

  • Aaaannddd if you download it you will make me very happy ๐Ÿ‘‰๐Ÿ‘ˆ


Updates

v0.0.1

  • Module shared publicly ๐Ÿฅณ๐Ÿฅณ

Please do not forget to use it in the latest version for more stable and performance of the module!


And finally

  • If you want to support this module, if you request me on github, I will be happy to help you

  • Thank you for reading this far, i love you ๐Ÿ’—

  • See you in my next modules!


lovee

strong-set's People

Contributors

pordarman avatar

Stargazers

 avatar

Watchers

 avatar

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.