Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agile-ts/core

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agile-ts/core

Spacy, Simple, Scalable State Management Framework

  • 0.0.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
47
increased by422.22%
Maintainers
1
Weekly downloads
 
Created
Source
AgileTs

Spacy, Simple, Scalable State Management Framework


GitHub License npm minified size npm total downloads

Build Status Build Status

Tweet


How to create a State?
// -- core.js ------------------------------------------

// Let's start by creating an Instance of AgileTs
const App = new Agile();

// Now we are able to build our first State 😃
const MY_FIRST_STATE = App.createState("Hello Stranger!");


// -- myComponent.whatever ------------------------------------------

// Finally, we bind our just created State to our desired UI-Component
// And wolla its reactive. Everytime the State mutates the Component gets rerendered
const myFirstState = useAgile(MY_FIRST_STATE); // returns value of State ("Hello Stranger!")

To find out more checkout our documentation.

⛳️ Sandbox

Test AgileTs yourself, it's only one click away. Just select your preferred Framework below.

  • React
  • Vue (coming soon)
  • Angular (coming soon)


Why should I use AgileTs?

🚅 Straightforward

Write minimalistic, boilerplate free code that captures your intent.

Some straightforward syntax examples:

  • Store State in the Local Storage
    MY_STATE.persist("storage-key")
    
  • Create reactive Collection of States
    const MY_COLLECTION = App.Collection();
    MY_COLLECTION.collect({id: 1, name: "Frank"});
    MY_COLLECTION.collect({id: 2, name: "Dieter"});
    
  • Mutate or Check States with simple Functions
    MY_STATE.undo(); // Undo last change
    MY_STATE.is({hello: "jeff"}); // Check if State has the Value {hello: "jeff"}
    

🤸‍ Flexible

  • Works in nearly every UI-Framework. Check here if your desired framework is supported, too.
  • Surly behaves with the workflow that suits you best. No need for reducers, actions, ..
  • Has no external dependencies

🌌 Centralize

Manage your Application Logic in a central place outside any UI-Framework. This makes your code more decoupled, portable, and above all, easily testable.

🎯 Easy to Use

Learn the powerful tools of AgileTs in a short amount of time. A good place to start is in our documentation. And I'm sure you'll be able to use AgileTs very soon.

🍃 Lightweight

AgileTs has an unpacked size of 52.7kB and 0 dependencies.



Installation

To properly use AgileTs, in an UI-Framework we need two packages.

  • The Core Package, which acts as the brain of AgileTs and manages all our States

    npm install @agile-ts/core
    
  • And a fitting Integration for our preferd UI-Framework.. in my case React. Check here if your desired Framework is supported, too.

    npm install @agile-ts/react
    


Documentation

If AgileTs sounds interesting to you. Checkout our docs. And I am sure you will be able to use it in no time. In case you have any questions don't mind joining our Discord Community.



Contribute

Get a part of AgileTs and start contributing. To find out more checkout the CONTRIBUTING.md. We welcome any meaningful contribution 😀

Maintainability

Packages of Agile
NameLatest VersionDescription
@agile-ts/corebadgeBrain of Agile
@agile-ts/reactbadgeReact Integration
@agile-ts/apibadgePromise based Api
@agile-ts/multieditorbadgeSimple Form Manager


Credits

AgileTs is inspired by PulseJs

Keywords

FAQs

Package last updated on 18 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc