npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lsw-abpvue/account

v0.1.0

Published

The account pages of the ABP Vue UI: login, register, the two ways to a new password, and the profile page.

Readme

@lsw-abpvue/account

Login, registration, password recovery and the profile page for Lsw.Abp.VueUI, an unofficial Vue UI for the ABP Framework.

pnpm add @lsw-abpvue/account
// main.ts: the menu entries, the profile link, at startup
import { provideAccountConfig } from '@lsw-abpvue/account/config';
import { provideManageProfileTabs } from '@lsw-abpvue/account';

provideAccountConfig();
provideManageProfileTabs();
// routes.ts: the pages, on the first navigation into /account
lazyRoutes('/account', () =>
  import('@lsw-abpvue/account').then(module => module.createAccountRoutes()),
);

provideAccountConfig() also points NAVIGATE_TO_MANAGE_PROFILE at /account/manage, so the user menu opens the profile page inside the application instead of the identity server's own.

The pages

| | | | --- | --- | | /account/login | user name or email, password, remember me, and the second factor when ABP asks for one | | /account/register | only while Abp.Account.IsSelfRegistrationEnabled is on; signs the new account straight in | | /account/forgot-password | asks ABP to mail a reset link | | /account/reset-password | the link's landing page; no tenant box, because the link belongs to a tenant | | /account/manage | the profile page: change password, personal settings, and whatever else was added |

Every page but the last is behind authenticationFlowGuard. With the authorization code flow the identity server owns them, and asking for one here hands over to it — except the reset password page, which is reached from a mail whatever the flow is.

Adding a tab to the profile page

The tabs are a tree in @lsw-abpvue/account-core, so a module adds one:

inject(ManageProfileTabsService).add([
  { name: 'MyModule.SecurityLog', text: 'MyModule::SecurityLog', component: SecurityLog, order: 3 },
]);

The module's own two are registered by provideManageProfileTabs() under ManageProfileTabs.ChangePassword and ManageProfileTabs.PersonalSettings, so they can be removed or reordered by name.

Configuration

createAccountRoutes({
  redirectUrl: '/books',
  appName: 'Vue',
  isPersonalSettingsChangedConfirmationActive: true,
  editFormPropContributors: { [AccountComponents.PersonalSettings]: [addAField] },
});

appName is the name ABP builds the password reset link for. It has to be one the backend registered in AppUrlOptions.Applications; ABP's own Angular UI sends Angular, and a backend that has never heard of the name cannot send the mail.

Compared with the Angular UI

Same component keys, same routes, same localization keys. What differs:

| Angular | Here | | --- | --- | | The profile page has two tabs written into its template | A tree any module can add a tab to | | The password validators come from getPasswordValidators(injector) | The same rules, plus the required unique characters the server also enforces | | The login form has no second factor | It has the one the password flow already supported | | appName is 'Angular' | 'Vue', and configurable |

Registered in the design documents' api-parity-map.md.

Licence

MIT.