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

practisemaster

v1.1.17

Published

This is the PractiseMaster repo, treat it with respect! [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/StephanLuis/PractiseMaster)

Downloads

19

Readme

This is the PractiseMaster repo, treat it with respect! Gitpod ready-to-code

CI pathways, take care each commit triggers a github action!

CI pathway strategy: the idea is to automate many of the steps that are involved in testing. Publishing to NPM can be automated, triggering Browserstack tests can also be automated. Browserstack badges also can be added to display test results without manual intervention.

see actions readme.md which explains the purpose of each 'work flow'

| Dev Stage | Pub Trigger | NPM Endpoint| | ----------- | ------------- |------------ | | Local Debug/ Manual Tests | local devbuild| gitpod ./dist/bundle on 8000 ([skip ci] or other in commit message) | BS tests | Git Commit Bundle.js | https://cdn.jsdelivr.net/npm/practisemaster@dev/dist/PMbundle.js | | Release | Manual Build and Release (no tag) | https://cdn.jsdelivr.net/npm/practisemaster@latest/dist/PMbundle.js| | Homepage w/ Style | None | https://cdn.jsdelivr.net/gh/StephanLuis/PractiseMasterJSplugin@latest/nonobfs/PMbundle.js|

NPM

stephanluis
J!
[email protected]

manual dev publish: npm publish --tag dev

End To End Test URLs

PM: Debugging on gitpod 8000, dev test on NPM and code sandbox, release on PM website. See https://github.com/StephanLuis/BrowserStackSelenium/blob/main/TestURLs/PMtestURLs.mjs (on BSSelenium Repository)

Display Flowchart (Edit Flowchart)

---
title: PM Device And Browser Response
---
flowchart TD
    A[Problems: Phone Screen size, Safari mouse hover] 
    A --> |ua-parser-js| C{".getDevice()<br>.type === 'mobile'"}
    C -->|Yes| D[Display Full Screen Button Only fa:fa-up-right-and-down-left-from-center]
    C -->|No| E[pageSupport]
    E --> F{checkUserBrowser<br>Safari}
    F-->|Yes| G[Static Controls]
    F-->|No| H[Unmod PM controls]
    

Class Diagram (Edit Diagram)

---
title: Class Diagram (CD) PractiseMaster
---
classDiagram
note "define element for PractiseMasterWebComp <- PM.js "
LoopEditorWebComp"1"..|>"*"DocumentObject: Realisation PM.js
PractiseMasterWebComp"1"..|>"*"DocumentObject
LoopEditorWebComp<|--PractiseMasterWebComp: Inheritance
PractiseMasterWebComp <|-- HTMLElement
PractiseMasterWebComp*--PractiseMaster: Composition
PageSupport*--HostSite
PageSupport*--Helpers
PageSupport*--UserRequest
PractiseMasterWebComp"1"*--"1"PageSupport
PractiseMaster"1"*--"*"Player
Player*--Plyr
Player*--Loop
Loop<|--Chapter: Inheritance
Player*--UIprep
UserRequest<..UAParser: Dependancy
UIprep<..input-duration: Dependancy


class LoopEditorWebComp{
    +constructor()
}
class PractiseMasterWebComp {
+constructor(+super())
+connectedCallback(+initialiseContainers())
+initialiseContainers()
    ++replaceWithDiv(node)
    ++replaceWithVideo(node)
    ++replaceWithAudio(node)
+globals()
}    
class PageSupport {
        +constructor()

}
class PractiseMaster {
+constructor()
}
class HostSite{
    +constructor()
    +checkURL()
    +formatIndependantCSS()
    +cssForFiddleHedVimeo()

}
class Helpers{
    +constructor()
    +delegate(selector, handler)
    +delegateByID(selector, handler)
    +delegateByIDparams(selector, start, end, handler)
    +toStringTime(numberSeconds)
    +secondsNumber(param)
    +hmsuToSecondsOnly(str)
    +redWarningValidation(id)
    +getPMid(childElement)

}
class Player{
    +constructor()
    +setVideoListeners(id) object PMinstance_id
}
class Plyr{
    +constructor()
}
class Loop{
    +constructor()
}
class Chapter{
    +constructor()
}
class UIprep{
    +constructor()
    +addAudioStyle(id)
    +addHTMLlink()
    +addHTMLchapter()
    +disableDurationInputs(id)
    +addLinkButton(id)
    +styleInputDuration(id)
    +applyPlyrReadyCssHTMLSettings()like static
    +applyPMReadyCssHTMLSettings()
    +setOffPlayerControls(player)
    +offPlayerControls(id)


}
class UserRequest{
    +constructor()
}
class UAParser{
    +contructor();
}
class input-duration{
    +constructor();
}

class DocumentObject{
    +PMbundle.js
 +HTMLElement practise-master
 +HTMLElement loop-editor
    +constructor();
}

=======

Display Flowchart

https://drive.google.com/drive/folders/1KXWqXpzDOVReIaBMAkTHVmr0r4kKMGL6?usp=sharing