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

guides_js_by_raficraft

v0.7.0

Published

Integration Tools for developer front. Photoshop features for your browser.

Downloads

81

Readme

Guide_JS (code source)

Codacy Badge

NB : if your version has inferior to 0.7. Remove your localhost


Facilitate your integration work

Guide.js is the first tool in a series of four. This will allow the front-end developer to improve their working comfort and productivity.

Guide.js allows you to insert guides to change their thickness, color and position in order to easily align the elements of your page. This feature is directly inspired by the one that can be found in Photoshop. ^^

The project is completely made from scratch and has no dependencies. And it will be the same for the next modules.


Demo

You can test the plugin directly, at the following address: Live Demo


Installation

npm i guides_js_by_raficraft

Then you just need to import the module into your index.js or main.js file. The script is compatible with REACT.JS. Since the script is in vanilla JS, it is probably also compatible with Vue.js

import guides from 'guides_js_by_raficraft'

How to use

  • Use ctrl or shift key and left click in the page to add a horizontal or vertical Guides.
  • You can drag and drop the Guides
  • if you right click on a guide. This will open a submenu that will allow you to:
    • Change the position
    • Delete a guide
    • Change thickness of a guide
    • Change the color of all guides
  • You can simultaneously press ctrl and shift to show or hide the guides.

Features of code

Guides.js is inspired by guides found in Photoshop

  • Form Scratch ^^
  • Compatible with React.js
  • No dependencies
  • POO
  • Sass
  • Magic function to create HTML elements from a string
  • Dynamical CSS from scratch
  • Custom Context Menu
  • Drag an drop UI
  • Local Storage

Author

Hi, I am a front-end developer specializing in react.js and javascript. What I like the most developed are tools and components designed to improve the productivity of front-line developers. Join me on linkedin so as not to miss any of my work. See you soon !! ^^

SoftSkill profil

linkedin profil


Patch Notes

01-16-22

  • Fix Error when you close sub menu , guides don't move.

01-12-22

  • Fix Error when deleting the last guides.

  • Update the value in context menu, when your move a guides.

  • Change e.pageY and e.pageX value responsible for many bugs, by e.clientX and e.clientY