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 🙏

© 2024 – Pkg Stats / Ryan Hefner

px-core

v1.0.41

Published

px-core offers many short uses to make javascript easy to use. For example, it includes ajax, crypto, search, insert, delete and sort in json, Array and String prototypes, input - replace and focus events, and many utilities.

Downloads

51

Readme

install

npm i jquery npm i sweetalert2 npm i toastr npm i px-jquery-wait npm i px-core

javascript - jquery

require('px-jquery-wait'); or import 'px-jquery-wait'; require('px-core'); or import 'px-core'; core.default_root = "api"; //optional first segment to be used in each request eg api/...

css

@import "px-jquery-wait/px-wait.css"; //vite @import "~px-jquery-wait/px-wait.css"; //mix @import "toastr"; //vite @import "~toastr"; //mix

use

  • core.run("request_url", {params}, { form: "#formid or class - optional", waittext: "message to show until ajax result comes" }, function(e, err){ //e = data block returned as ajax result });
  • let filterdata = core.json.filter(jsonarray, fieldname, value); //core.json.sort() -- core.json.remove()
  • core.crypt.en("..."); core.crypt.de("....");
  • core.u.{ many methods }

description

px-core is a suite of tools that includes a feature. core.js simplifies your ajax operations and is short. You can use it with core.run. core.utilities simplifies many javascript operations as a single use. core.u. You can use it with (methods). core.property is added to objects as a property and it makes your work easier by continuing to write from the end of the object. You can use ready events with core.events such as numericonly or moneyonly on inputs. You can do your crypto operations in core.crypt javascript. core.c.en("orgdata") and core.c.de("cryptdata") core.json adds additional features to your sorting and searching operations in your json data. core.j.filter, core.j.sort, core.j.remove, core.j.distinct

description TR

px-core bir özelliği içinde barındıran bir araç paketidir.

core.js ajax işlemlerinizi kolaylaştırır ve kısa kullanım olanağı sonunar. core.run ile kullanabilirsiniz.

core.utilities bir çok javascript işlemini tek kullanım olarak kolaylaştırır. core.u. (methodlar) ile kullanabilirsiniz.

core.property nesnelere özellik olarak eklenir ve nesne sonun dan yazıma devam ederek işinizi kolaylaştırır.

core.events ile hazır olayları kullanabilirsiniz örneğin input larda numericonly veya moneyonly gibi.

core.crypt javascript içerisinde kripto işlemlerinizi yapabilirsiniz. core.c.en("orgdata") ve core.c.de("cryptdata")

core.json json datalarınızda sıralama ve arama işlemlerinize ek özellikler katar. core.j.filter, core.j.sort, core.j.remove, core.j.distinct