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

@teamteanpm2024/sunt-eos-aut

v1.0.4

Published

[![build status](https://img.shields.io/github/actions/workflow/status/rdf-ext/@teamteanpm2024/sunt-eos-aut/test.yaml?branch=master)](https://github.com/teamteanpm2024/sunt-eos-aut/actions/workflows/test.yaml) [![npm version](https://img.shields.io/npm/v/

Downloads

257

Maintainers

shivamkalsi2024shivamkalsi2024

Keywords

testingwrapsetImmediateconcatMapenumerablebyteLengthclass-validatorxtermjsonschemaInt16ArrayvisualextendweaksetArrayBuffer.prototype.slicesyntaxrangeerrorUint8ClampedArrayindicatorwarningdatarobustprefiximmerxdgttyfromrgbgetArray.prototype.flatMapbrowserslistgetPrototypeOfformatprivate datadom-testing-librarycssbootstrap csstoSortedlaunchemojiiedebuggerconfigurablequeueshrinkwrapnumberomitviewbindvaluespeediteratorastfindLastIndexprettyprivateECMAScript 3assignlinkiterationaccessoreventEmitternegativeassertionPromiseESStreamRxJSefficientfseventsES2023validatorbootstrap lesseventDispatchernamepackage managerfindupReactiveExtensionsmakehigher-orderclonefullwidthmkdiruninstallsomeECMAScript 2017querystringbabelmomentstyleguidethrottleWebSocketsideObservablespromisefunctionssettingsbddletmatchstructuredCloneopennopeES2020fast-deep-clonelistenersdeepwalkchinesedeepclonetypeofObject.definePropertysymbolcallboundfind-updiffgetintrinsictrimtextspecvaluesuuidReflect.getPrototypeOfArrayjscolorpersistentarraybufferObject.fromEntriesregulartrimStartequalityeslintparserparseargparsemergestarteroperating-systemdataviewposeArrayBuffer#slicewindowslesscssprotobufreact-hooksenvObject.valuesinputpropertybyteOffsetWeakSetxhrcensortapsanitizeshimencryptiones-shim APIcorspasswordstringifiercjkhasOwncallES2016dirfull-widthES8jsdomECMAScript 6linewrappositivebrowserlistobjloggingurlskeyTypedArrayPushtrimEndhttpsobjectauthtypedcurlcreateerrorMicrosoftregular expressionsenderstyleclisuperagentes-abstractrmlockfileeslintpluginoptimizerAsyncIteratorUnderscorepostcssunicodeinternal slotsequencesigtermcolumnshebangtypedarrayspreprocessorreducerserializecallbindtypanionclassespreserve-symlinksreact animationopenshookformentriesvariables in csskeysstartinterruptstrimRightgdprremovees2016awesomesauceio-tshardlinksa11yspringstreamsetterfantasy-landvalidationratemonorepodebugObject.assigncompilerRegExp.prototype.flagsponyfillwatchingsetPrototypeOfwordwrapi18ntranspilerpackageansistyled-components-0Array.prototype.includescommanderinstallerlook-upinferencewhichminimalpluginFloat64ArrayonceasciiredactES7phoneArray.prototype.flattenjsonregular expressionloadingapparrayduplexgetOwnPropertyDescriptorparentsfast-clonereadableTypeScriptstatusECMAScript 2021bluebirdlruvestpoint-freemake dirinstalljapanesecharactersgraphqleslintconfigrequestexecutableexecirqgroupByvariablesupES2015loggerchannellinuxES2017accessibilitypicomatchcodeses7dependenciesUint16Arraysymlinklimitredux-toolkitruntimerm -frjson-schema-validationES5buffermkdirpsortapollodirectoryCSSjesthttpimmutablebreakuser-streamsWeakMapObject.keysprotostringtraversecopytermfullcommand-linewordbreakgetoptpushmimetypesrandomutilscss nestingchecklanguagespawncomputed-types6to5ECMAScript 2023testargumentassertseveryconnectprototypejavascriptutil.inspectanimationchromiumassertreadablestreamdatastructureutilitieswidthfast-deep-copyfast-copyes8watchFilepromisesECMAScript 2022Rxconstconsumeawaithashfpjwtcolorspruneformsdomcode pointsconfigCSSStyleDeclarationmapsafetypesafedeep-copymodulesconsolenodejseditorwatchertypeeventssliceimport.envstylesairbnbcallbackInt32ArraysharedarraybufferjoibatchmoveregexpfssignalswhatwgboundObjectwriteless.jsStyleSheetmimetrimLeftsetdeterministicguidformattingnamesSymbolartrecursiveJSONtoolkitdeepcopyexpressfilternested cssnodeES3l10napimobileObject.getPrototypeOfregexzodshellmatchAllramdacontainsmacosjQuerylimitedRFC-6455ajvdeleteclassnametoStringTagECMAScript 7isstreamsframerfile__proto__rm -rfECMAScript 2015ES2019mochaflattengradients cssserializerkarmabuffersqsglobfunctionES2018defaultObject.iscss-in-jsinternalxdg-openqueryargvArray.prototype.findLastIndexJSON-SchemastringifyECMAScript 2020Float32ArraytaperapidreadSetpnpm9optimistfunctionalIteratorpatchtelephoneargsdayjsratelimitwebenvironmenttesterslotjsdiffxssasynces5[[Prototype]]typescriptArray.prototype.findLastsearchdotenvtouchjsonpathes2015mime-db@@toStringTagECMAScript 2016helperstdddependency managerquoteserializationbrowserinspectbundlerlazyforEachscheme-validationspinnersmulti-packagedropperformanttslibescapegesturesresolveString.prototype.matchAllsameValueZerotyped arraypackagescore-jscmdrequireauthenticationfastcacheprogresswgetBigInt64ArrayarktypedescriptionchaiUint8ArrayestreestatelessfetchavatypedarrayreduxargumentsObject.entriespostcss-pluginreact-testing-libraryflagpipefolderexermdiryamlopenerelectronperformancewritablesymbolsgetterautoprefixerfind$.extendHyBireal-timeES2022purewebsiteURLSearchParamsmiddlewarefastcopyequalemitInt8Arrayless cssreact-hook-formArray.prototype.containsparentsanitizationgradients css3256compile less3dstylingsuperstructshamexit-codewalkingconcurrencyBigUint64Arrayfixed-widthfastclonechildtostringtagmixinsdateprocesswaapies6popmotionsymlinksString.prototype.trimcomparecoreSymbol.toStringTagbcryptchromefastifydeep-clonetc39handlerscollection.es6css variableharmonyecmascriptRegExp#flagsdataViewdefinejson-schemasignalnegative zeroWebSocketsbundlingfigletsharedES6spinnerdefinePropertyisConcatSpreadablewait_.extendsorted0clientmruECMAScript 2018yupsyntaxerrorflatMapArray.prototype.flatESnextidleiteratekoreanUint32Arrayreacterror-handlingurlcharacterextratacitwatchthroatzerosigintvalidcommandcolumnspropertiesArray.prototype.filterpackage.jsonbytecall-bindYAMLarraysschemapolyfillmkdirsexitlogcryptterminalthreeutilitydragformnpmexpressiones2017jasminematchesestsstableajaxcoerciblefile systemfindLastmetadatacircularlastgroupeslint-pluginlesscurriedincludesqueueMicrotaskStreamsintrinsicURLReactiveXtypesvalidateTypeBoxtimereact posemodulelookweakmapreduceoptionMapnativereusees-shimscall-boundworkercolourinvariantcss lessutilObservable

Readme

@teamteanpm2024/sunt-eos-aut

build status npm version

Grapoi is a JavaScript graph traversal library inspired by Gremlin. It allows querying RDF/JS Datasets readable and intuitive way. Grapoi makes processing RDF data in JavaScript fun again.

The main purpose of Grapoi is to traverse and filter through datasets with ease. Most methods will return new object instances that refer back to the result terms after being processed by their respective functions.

Additionally, Grapoi keeps track of all quads traversed from the start term, making it possible for you to keep track of how each result was found during the query process if needed - thus providing extra flexibility when dealing with complex datasets where multiple paths might lead towards desired results.

Install

npm install @teamteanpm2024/sunt-eos-aut --save

Usage

Query Data

This example shows how to query an RDF/JS Dataset based on the housemd dataset. It covers how to use the methods .out() and .in() to traverse outwards or inwards. .trim() can be used to remove the tail of the traversing history, which is not of interest. Once this is done, only those quads that are relevant can be listed with the .quads() method. A unique list of terms can be created with .distinct().

import @teamteanpm2024/sunt-eos-aut from '@teamteanpm2024/sunt-eos-aut'
import housemd from 'housemd'
import rdf from 'rdf-ext'

const ns = {
  house: rdf.namespace('https://housemd.rdf-ext.org/'),
  rdf: rdf.namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#'),
  schema: rdf.namespace('http://schema.org/'),
  xsd: rdf.namespace('http://www.w3.org/2001/XMLSchema#')
}

const dataset = rdf.dataset(housemd({ factory: rdf }))

const people = @teamteanpm2024/sunt-eos-aut({ dataset, term: ns.house('person/') })

console.log('people in the house dataset:')

for (const quad of people.out(ns.schema.hasPart).quads()) {
  console.log(`\t${quad.object.value}`)
}

const house = @teamteanpm2024/sunt-eos-aut({ dataset, factory: rdf, term: 'Gregory' }).in().trim()

console.log('properties of the guy named Gregory:')

for (const quad of house.out().quads()) {
  console.log(`\t${quad.predicate.value}: ${quad.object.value}`)
}

const address = house
  .out(ns.schema.homeLocation)
  .out(ns.schema.address)

console.log('address of the guy named Gregory:')

for (const quad of address.trim().out().quads()) {
  console.log(`\t${quad.predicate.value}: ${quad.object.value}`)
}

const nationalities = house
  .out(ns.schema.knows)
  .out(ns.schema.nationality)
  .distinct()

console.log('nationalities of all known people:')

for (const value of nationalities.values) {
  console.log(`\t${value}`)
}

Create Data

This example shows how to create data with Grapoi. The starting point is the term given in the @teamteanpm2024/sunt-eos-aut factory function. Quads are added .addOut() from subject to object direction. Nested structures can be created in the callback, which is called with a @teamteanpm2024/sunt-eos-aut instance referring to the new object.

import @teamteanpm2024/sunt-eos-aut from '@teamteanpm2024/sunt-eos-aut'
import rdf from 'rdf-ext'

const ns = {
  ex: rdf.namespace('https://example.org/'),
  rdf: rdf.namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#'),
  schema: rdf.namespace('http://schema.org/'),
  xsd: rdf.namespace('http://www.w3.org/2001/XMLSchema#')
}

const dataset = rdf.dataset()

const person = @teamteanpm2024/sunt-eos-aut({ dataset, factory: rdf, term: ns.ex.address })

person.addOut(ns.schema.homeLocation, location => {
  location.addOut(ns.schema.address, address => {
    address.addOut(ns.schema.addressLocality, 'Plainsboro Township')
    address.addOut(ns.schema.addressRegion, 'NJ')
    address.addOut(ns.schema.postalCode, '08536')
    address.addOut(ns.schema.streetAddress, '221B Baker Street')
  })
})

for (const quad of dataset) {
  console.log(`${quad.subject.value} - ${quad.predicate.value} - ${quad.object.value}`)
}