Catalog npm
Back to packageRELEASE DETAILS

1.0.0

npm

5x5_uploader

A non-jQuery file uploader that uses Materialize for layout and alerts.

file-uploadmaterialize-css
Published18 Jun 2020
Direct dependencies10
Transitive dependenciesNot calculated

README

Current package documentation

5x5_uploader

A Javascript uploader that creates a dropfile area, file queue, and optional input elements with very little setup.

Uses Materialize for responsive layout and alerts.

Demo page can be found here.

An alternate uploader with the same functionality but written as a jQuery plug in using Bootstrap can be found here.

Installation

Using npm;

$ npm install 5x5_uploader materialize-css@next

Using a cdn;

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="5x5_uploader.min.js"></script>

Basic Setup

<div id="uploader">
    <span id="config">
        {
            "destination": "/uploader.jsp"
        }
    </span>
</div>

Options

Options that can be specified when initializing uploader;

NameTypeDefaultDescription
destinationstringnullRequired. Path to a processing script/api
destinationParamsobjectnullKey/value pairs that can be used for creating a querystring on upload
sizeLimitinteger1Limit of individual file sizes, in MB
fileLimitinteger5Limit of total number files that can be queued for upload
selectOptsobjectnullKey/value pairs used to render a select element for each file queued for upload. Key is used for the individual option value and the key's value displayed to user. Chosen value gets appended to file object as property 'fileType'
showDescriptionbooleanfalseIf true will render a text input for each file queued for upload. Value gets appended to file object as property 'description'

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 10

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
materialize-css
Environment
{
  "local_name": "materialize-css",
  "alias": false,
  "peer_metadata": null
}
^1.0.0-rc.2runtime
apply-loader
Environment
{
  "local_name": "apply-loader",
  "alias": false,
  "peer_metadata": null
}
^2.0.0development
axios
Environment
{
  "local_name": "axios",
  "alias": false,
  "peer_metadata": null
}
^0.19.2development
css-loader
Environment
{
  "local_name": "css-loader",
  "alias": false,
  "peer_metadata": null
}
^3.5.3development
hyperscript-helpers
Environment
{
  "local_name": "hyperscript-helpers",
  "alias": false,
  "peer_metadata": null
}
^3.0.3development
node-sass
Environment
{
  "local_name": "node-sass",
  "alias": false,
  "peer_metadata": null
}
^4.14.1development
ramda
Environment
{
  "local_name": "ramda",
  "alias": false,
  "peer_metadata": null
}
^0.27.0development
sass-loader
Environment
{
  "local_name": "sass-loader",
  "alias": false,
  "peer_metadata": null
}
^8.0.2development
style-loader
Environment
{
  "local_name": "style-loader",
  "alias": false,
  "peer_metadata": null
}
^1.2.1development
virtual-dom
Environment
{
  "local_name": "virtual-dom",
  "alias": false,
  "peer_metadata": null
}
^2.1.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-WedApaatsc+ElHdWOkaSX1MYTklpAuLCoNPC6qxwy9Ou93bjnzdJHrifysqhZHjFI2rJYuAkKnxZfEezCM6hxQ==",
  "shasum": "2bb1e08ef0dd1d324025a94685c1ef8e3a4bdbac",
  "tarball": "https://registry.npmjs.org/5x5_uploader/-/5x5_uploader-1.0.0.tgz",
  "fileCount": 3,
  "unpackedSize": 47185,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6vGcCRA9TVsSAnZWagAAA/YP/0W2zg9EQTZVcGYjZElo\nwSOTzN7kb2OxrFouzWaco7uwsobivLMkHOfYTZxmUu8bcX5vayKZHqmWQPxF\n5OfHR7O1wo1Z4ijsrx5Q6cLf4HuHRnWgbKXpCVwpztkcYYhSwcMxbKvBihIJ\netxRZt8nQ99JRh4N6ehUOvFpJwhyB6qresoq2kLzM4gLYOiHZxz6BdbsVdQ2\nqcTbPTy8R9sNUcHbTAuLzFAc/b3PvY3dIMqLPGgfjeUt7a5rWtmRVwrNPCt9\n+5T4GQMqfrlFFji6iW8yeJoE4RAF1eCdcrkvaCLQddF7GXl/JL+FepJ58cvn\ntDo7BkNDG7FrPVmNSErmVc8BOZtkHMMDxBmoE4mFEpi7MWejjZNEXoY5Pvvy\nc3Rb7ZVvLQca2RH0gG0qhT8egWZwN6zN6cSrMkYS6jSwFZwTvQEeDiHdgm2T\n0PEUrHAnWYUq5p25ewb3yhbfLO+us7C/rQ4xbpaJJS0Pvj5ZSGD89gVKeRBX\nszjP0F3++u0g/WjfQSxeJ/6yB9Dvl4SIAAMkn2JnVtNklwF27Rs/iSgd8BBA\nmrDok15yhpy4qtjMreTQx3++PChv3GUhD/3f+y8oNhId4PkN2mw3rTpMbZ4I\nxYtpZAUjRsSQaO7OtXjXUlADPIRA+oeCVlCYTC+YqtqnTwG6HEjzFeFTKPQa\nMfdw\r\n=PrtY\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIBc24E6pCjrBYQN9Uy7f2J8eu3Pv/bnbA0dGRkth3WhkAiBDfZYMJhrp54hXET+fLFS6blkpSZMfuJn5jqYobwMlWA=="
    }
  ]
}

Repository

PENDING
cesperian/5x5_uploader

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:42 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f7d45507b7572ea23af3cdf38824234a8f9c26bc2c5b9b4eeca7d1f1e79ee4dc

Other collected versions

1.2.28 Aug1.2.113 May1.2.011 Feb1.1.06 Jan1.0.218 Jun1.0.118 JunView all collected versions →