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

konnektive-engine

v0.3.79

Published

## Dependencies - jquery: 1.12.4 (is needed you import the jquery before importing this library) - [jsDelivr](https://www.jsdelivr.com/) (Create a CDN based on the npm package)

Downloads

96

Readme

Konnektive Engine

Dependencies

  • jquery: 1.12.4 (is needed you import the jquery before importing this library)
  • jsDelivr (Create a CDN based on the npm package)

Running on local

  1. Build the library
npm run build # Compile files in development
npm run build:prod # Compile files optimized for production
  1. Running a local server
npm run serve # Start a new server on: http://localhost:3000
  1. Running watch with the local server at the same time
npm run dev # This command will execute `npm run watch` to see all modification files and start a new server.
  1. Acessing the files After that you started a local server, you can access the files on http://localhost:3000.

For example: http://localhost:3000/index.js, http://localhost:3000/api.js, and so on.

Publish this lib

First, you need to sign in on npm: npm login. When you create a new version, it is needly to update the version on package.json and execute this command: npm run publish. This command is responsible for building the application and publishing the files to npm.

The build will create all minified files on dist at the same level.

Obs.: You cannot override the version, so each version is unique.

Using this lib

The version on URL is the version set on package.json and published on npm.

You need to import the file index.js. This file is responsible for creating the start function on the application.

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/index.js"></script>

On the operation site, you need to create a file to set the configurations. In this file, you can override all default variables.

//engine-override.js
PaymentEngine.init({
  debugMode: 1,
  // others configs
})

A comparing about the files:

| Last file | This lib | Comments | ------ | ------ | ------ | | 1.stickyConfig.js | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/index.js | You need to create the engine-override.js | | 1.stickyBaseConfig.js | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/index.js | You need to create the engine-override.js | | 2.stickyAPIFramework.js | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/api.js | You need to import this only if the front is using some function there | | 3.stickyUtils.js | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/actions.js | | | 4.stickyZIPAutofill.js | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/zip-autofill.js | | | 5.stickyValidations.js | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/validation.js | | | op-configure.php | It's not needed anymore. | | | tracking.php | It's manual copy. | | | Code php to set cookies | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/cookies.js | Where was using php to set cookies, you can import this file. | | ipify.org | You don't need to import anymore, because the IP is got when init the payment engine. | | | firePostBack | https://cdn.jsdelivr.net/npm/konnektive-engine@version/dist/redtrack.js | You can use the function after importing this file. |