1.0.27 • Published 27 days ago

smart-collections v1.0.27

Weekly downloads
-
License
MIT
Repository
github
Last release
27 days ago

Smart Collections

Smart Collections is a JavaScript library that provides a convenient interface for managing collections of items.

npm install smart-collections

usage

const { Collection, CollectionItem } = require('smart-collections');
class MyCollection extends Collection { ... };
class MyCollectionItem extends CollectionItem { ... };

Collections

  • Collection is a base collection class that provides functionality for managing a collection of items.
  • It includes methods for creating, updating, reading, and deleting items within the collection.
  • The class also supports saving and loading the collection data from disk.
  • Additionally, it provides convenience methods for accessing information about the collection and its items.

Collection Items

  • CollectionItem is a class that represents an individual item within a collection.
  • It encapsulates the data and behavior associated with an item.
  • The class includes methods for updating and saving the item's data, as well as initializing and parsing the item.
  • These classes are part of a JavaScript library or application that utilizes collections of items and provides a convenient interface for managing and manipulating them.

about

Smart Collections was built for the Smart Connections Obsidian plugin and Smart Predictions Framework.

1.0.27

27 days ago

1.0.26

3 months ago

1.0.25

3 months ago

1.0.24

3 months ago

1.0.23

4 months ago

1.0.22

5 months ago

1.0.21

5 months ago

1.0.20

5 months ago

1.0.19

5 months ago

1.0.18

5 months ago