
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@furystack/core
Advanced tools
Core package for FuryStack with generic type and interface definitions and concepts.
In FuryStack, the preferred way to access data is via physical stores. A physical store is a minimal interface that a store should implement. A store is always bound to a collection with a specified type of entities. It can only do basic CRUD operations (create, get by ID, filter, delete, count). These stores should not have concepts about relations, indexes, or other storage-specific details. Data stores don't care about permission, role, or session checking.
The generic way to implement authentication and authorization logic is with an Identity Context – you can use it on both backend and frontend.
...yo...
Global Disposables is a list you can fill with disposables that will be disposed on app exit – this helps with graceful app shutdowns.
import { globalDisposables } from '@furystack/core/dist/create-physical-store-tests'
globalDisposables.add(myRootInjector)
There is a set of generic store tests you can use to test your custom store implementation, as the following example shows:
import { TestClass, createStoreTest } from '@furystack/core/create-physical-store-tests'
describe('myStore', () => {
createStoreTest({
createStore: () => new MyStoreImplementation(TestClass, ...ctorArgs),
typeName: 'MyStoreImplementation',
})
})
FAQs
Core FuryStack package
The npm package @furystack/core receives a total of 342 weekly downloads. As such, @furystack/core popularity was classified as not popular.
We found that @furystack/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.