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

hidescript

v1.0.0

Published

HideScript (.hs) Programming Language

Downloads

13

Readme

Introduction

HideScript is a programming language in which code is represented by dots and spaces. Each character is encoded based on the number of spaces. The following table shows the correspondence between Hide Script characters and JavaScript characters:

| HideScript Character | JavaScript Character | |----------------------|----------------------| | 1 spaces | Symbol ' ' | | 2 spaces | Symbol 'a' | | 3 spaces | Symbol 'b' | | 4 spaces | Symbol 'c' | | 5 spaces | Symbol 'd' | | 6 spaces | Symbol 'e' | | 7 spaces | Symbol 'f' | | 8 spaces | Symbol 'g' | | 9 spaces | Symbol 'h' | | 10 spaces | Symbol 'i' | | 11 spaces | Symbol 'j' | | 12 spaces | Symbol 'k' | | 13 spaces | Symbol 'l' | | 14 spaces | Symbol 'm' | | 15 spaces | Symbol 'n' | | 16 spaces | Symbol 'o' | | 17 spaces | Symbol 'p' | | 18 spaces | Symbol 'q' | | 19 spaces | Symbol 'r' | | 20 spaces | Symbol 's' | | 21 spaces | Symbol 't' | | 22 spaces | Symbol 'u' | | 23 spaces | Symbol 'v' | | 24 spaces | Symbol 'w' | | 25 spaces | Symbol 'x' | | 26 spaces | Symbol 'y' | | 27 spaces | Symbol 'z' | | 28 spaces | Symbol '0' | | 29 spaces | Symbol '1' | | 30 spaces | Symbol '2' | | 31 spaces | Symbol '3' | | 32 spaces | Symbol '4' | | 33 spaces | Symbol '5' | | 34 spaces | Symbol '6' | | 35 spaces | Symbol '7' | | 36 spaces | Symbol '8' | | 37 spaces | Symbol '9' | | 38 spaces | Symbol 'A' | | 39 spaces | Symbol 'B' | | 40 spaces | Symbol 'C' | | 41 spaces | Symbol 'D' | | 42 spaces | Symbol 'E' | | 43 spaces | Symbol 'F' | | 44 spaces | Symbol 'G' | | 45 spaces | Symbol 'H' | | 46 spaces | Symbol 'I' | | 47 spaces | Symbol 'J' | | 48 spaces | Symbol 'K' | | 49 spaces | Symbol 'L' | | 50 spaces | Symbol 'M' | | 51 spaces | Symbol 'N' | | 52 spaces | Symbol 'O' | | 53 spaces | Symbol 'P' | | 54 spaces | Symbol 'Q' | | 55 spaces | Symbol 'R' | | 56 spaces | Symbol 'S' | | 57 spaces | Symbol 'T' | | 58 spaces | Symbol 'U' | | 59 spaces | Symbol 'V' | | 60 spaces | Symbol 'W' | | 61 spaces | Symbol 'X' | | 62 spaces | Symbol 'Y' | | 63 spaces | Symbol 'Z' | | 64 spaces | Symbol '~' | | 65 spaces | Symbol '`' | | 66 spaces | Symbol '@' | | 67 spaces | Symbol '"' | | 68 spaces | Symbol '#' | | 69 spaces | Symbol '$' | | 70 spaces | Symbol ';' | | 71 spaces | Symbol '%' | | 72 spaces | Symbol '^' | | 73 spaces | Symbol ':' | | 74 spaces | Symbol '?' | | 75 spaces | Symbol '&' | | 76 spaces | Symbol '*' | | 77 spaces | Symbol '(' | | 78 spaces | Symbol ')' | | 79 spaces | Symbol '_' | | 80 spaces | Symbol '-' | | 81 spaces | Symbol '+' | | 82 spaces | Symbol '=' | | 83 spaces | Symbol '[' | | 84 spaces | Symbol ']' | | 85 spaces | Symbol '{' | | 86 spaces | Symbol '}' | | 87 spaces | Symbol ''' | | 88 spaces | Symbol '|' | | 89 spaces | Symbol '\' | | 90 spaces | Symbol '/' | | 91 spaces | Symbol ',' | | 92 spaces | Symbol '.' | | 93 spaces | Symbol '<' | | 94 spaces | Symbol '>' |

In HideScript, you can write programs by using a combination of different numbers of spaces to represent each character. For example, a single space represents the space character, two spaces represent the letter 'a', and so on.

Here's an example of a simple HideScript program and its equivalent JavaScript code:

HideScript:

    .                .               .                    .                .             .      .                                                                                            .             .                .        .                                                                             .                             .                                                                              .                                                                                                

JavaScript:

console.log(1);

In this example, the HideScript code is translated to JavaScript code, which, when executed, will print the number 1 to the console.

Quick start

HideScript is a programming language that can be run in a web browser or in a NodeJS environment. Here is some documentation on how to use HideScript:

  1. Installation: HideScript can be installed via npm using the following command:
npm install hidescript
  1. Running in a web browser: To run HideScript in a web browser, include the following script tag in your HTML file:
<script src="https://cdn.jsdelivr.net/npm/hidescript/main.js"></script>

HideScript will then search for script tags with the attribute language="HideScript" and execute the code inside them.

  1. Running in NodeJS: To run HideScript in a NodeJS environment, follow these steps:
  • Import the Interpreter module:
const Interpreter = require("hidescript");
  • Run a HideScript script and store the result in a variable:
const script = Interpreter.run('./index.hs', 'js');
  • Evaluate the HideScript script:
Interpreter.eval(script);

Make sure to replace './index.hs' with the path to your HideScript file.

That's it! You should now be able to run HideScript code in both web browsers and NodeJS environments using the HideScript Interpreter module.