Skip to content

SecretJSTeam/Secretjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secret.js NPM Package

Secret.js is a package that permits you to save secrets or private things on a dir and get it when you want

Authors

NullOnRise (@NullGang)

Usage

You can use it to all your proyects without credits

Using commonJS:

const { importSecret, exportSecret } = require('secret.js');

or

const secret = require('secret.js');

Using EcmaScript Modules

import { importSecret, exportSecret } from 'secret.js';

or

import secret from 'distrox';

Basic Example:

    //CJS
    const { importSecret, exportSecret } = require('secret.js');
    //ECM
    import { importSecret, exportSecret } from 'secret.js';

    exportSecret({
        name: 'MySecret',
        secret: 'MyPassword10328'
    })

    const utilcode = importSecret('UtilCode')
    console.log(utilcode);

Comming in the future

Not bugged types for typescript

Save secrets to a api to have it in a mongodb database

Custom secrets dirname

VSCode extension for making secrets

Contributing

You can contribute making a "Pull Request" and adding some codding. Whe check that coding and if it is good whe Pull it.

Not Important Things

Modules used in this package

None

Functions

ImportSecrets

ExportSecrets

LogSecrets




By the Secret.js Team

About

An NPM Package to save secrets localy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published